mirror of
https://github.com/monero-project/monero.git
synced 2025-05-04 22:04:58 -04:00
Changed ac_line_status to on_battery_power.
This commit is contained in:
parent
23c73269ca
commit
e4dfd2fb63
2 changed files with 6 additions and 6 deletions
|
@ -164,6 +164,6 @@ namespace cryptonote
|
|||
static bool get_system_times(uint64_t& total_time, uint64_t& idle_time);
|
||||
static bool get_process_time(uint64_t& total_time);
|
||||
static uint8_t get_percent_of_total(uint64_t some_time, uint64_t total_time);
|
||||
static bool ac_line_status(); // true = plugged in, else nope
|
||||
static bool on_battery_power();
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue