SETDRAINRATE

NAME
        SetDrainRate()


SYNOPSIS
        int SetDrainRate(int i)



DESCRIPTION
        Sets how much of a battery's charge is drained per heartbeat of use.


EXAMPLES
        For a two-minute battery with a charge of 120  on a mud with a one-second heartbeat: SetDrainRate(1)


LOCATION
        /lib/battery.c
/lib/flashlight.c



SEE ALSO
        GetDrainRate, SetCharge, GetCharge


Author
        Cratylus


