Dgame.System.Battery
« Go back
Bottom- abstract class System;
- The System struct contains the Power struct,
which give information about your current battery
and several other informations about your system, like the available RAM.
Author:
Randy Schuett (rswhite4@googlemail.com)k
- struct Battery;
- This structure provide support for battery lifetime if you are on a laptop etc.
- static nothrow @nogc Battery getBatteryInfo();
- Returns the PowerInfo structure with the currently power informations
See:
PowerInfo struct
- static nothrow @nogc int getRAM();
- Returns the available RAM
Page generated by Ddoc.
« Go back