25 lines
338 B
Plaintext
25 lines
338 B
Plaintext
SETCHARGE
|
|
|
|
NAME
|
|
SetCharge()
|
|
|
|
SYNOPSIS
|
|
int SetCharge(int i)
|
|
|
|
DESCRIPTION
|
|
Sets the amount of power left in the battery.
|
|
|
|
EXAMPLES
|
|
A battery with a drain rate of one will be a two-minute battery with this: SetCharge(120)
|
|
|
|
LOCATION
|
|
/lib/battery.c
|
|
|
|
|
|
SEE ALSO
|
|
GetCharge
|
|
|
|
Author
|
|
Cratylus
|
|
|