GetCharge

ds2.10/lib/doc/lfun/lib/battery/GetCharge · 318 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

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

Site Stats

Snippets: 1791
Codebases: 571