galaxy 1.0.0
Real-Time C++23 Game Programming Framework. Built on data-driven design principles and agile software engineering.
Loading...
Searching...
No Matches
Laptop.hpp File Reference
#include <cstdint>
#include "galaxy/platform/Pragma.hpp"
+ Include dependency graph for Laptop.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  galaxy
 Timer.hpp galaxy.
 
namespace  galaxy::laptop
 

Functions

int galaxy::laptop::get_battery_remaining (const bool percent=true) noexcept
 Get remaining battery charge of a laptop.
 
SDL_PowerState galaxy::laptop::get_battery_status () noexcept
 Get battery status.