25 lines
318 B
Plaintext
25 lines
318 B
Plaintext
GETCHARGE
|
|
|
|
NAME
|
|
GetCharge()
|
|
|
|
SYNOPSIS
|
|
int GetCharge()
|
|
|
|
DESCRIPTION
|
|
Returns the amount of power left in a battery.
|
|
|
|
EXAMPLES
|
|
present("battery",this_object())->GetCharge()
|
|
|
|
LOCATION
|
|
/lib/battery.c
|
|
|
|
|
|
SEE ALSO
|
|
SetCharge, SetDrainRate, GetDrainRate
|
|
|
|
Author
|
|
Cratylus
|
|
|