SetDrainable
ds2.10/lib/doc/lfun/lib/battery/SetDrainable · 348 B
From the archive ds2.10.zip
Download the archive « Back to the archive contents
SETDRAINABLE
NAME
SetDrainable()
SYNOPSIS
int SetDrainable(int i)
DESCRIPTION
Sets whether a battery actually loses power over time or not.
EXAMPLES
For an everlasting battery: SetDrainable(0)
LOCATION
/lib/battery.c
SEE ALSO
GetDrainable, SetDrainRate, GetDrainRate
Author
Cratylus