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.cpp File Reference
#include <SDL3/SDL_power.h>
#include "Laptop.hpp"
+ Include dependency graph for Laptop.cpp:

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.