![]() |
galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
|
Functions | |
int | get_battery_remaining (const bool percent=true) noexcept |
Get remaining battery charge of a laptop. | |
SDL_PowerState | get_battery_status () noexcept |
Get battery status. | |
|
nodiscardnoexcept |
Get remaining battery charge of a laptop.
percent | True to return as a percentage, otherwise return seconds left. |
Definition at line 16 of file Laptop.cpp.
|
nodiscardnoexcept |