diff options
author | Dion Ahmetaj <Dion Ahmetaj> | 2017-02-07 10:55:49 -0500 |
---|---|---|
committer | Dion Ahmetaj <Dion Ahmetaj> | 2017-02-10 18:07:42 -0500 |
commit | e4dfd2fb6345c1d212ca3706254faa988948beb3 (patch) | |
tree | c313ecfc19bee7950f5bca5c63eda1482cde04ac /src/cryptonote_basic/miner.h | |
parent | Use defined directive to silence pre-proc warnings. (diff) | |
download | monero-e4dfd2fb6345c1d212ca3706254faa988948beb3.tar.xz |
Changed ac_line_status to on_battery_power.
Diffstat (limited to 'src/cryptonote_basic/miner.h')
-rw-r--r-- | src/cryptonote_basic/miner.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_basic/miner.h b/src/cryptonote_basic/miner.h index dae8b4b63..7c81f1be0 100644 --- a/src/cryptonote_basic/miner.h +++ b/src/cryptonote_basic/miner.h @@ -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(); }; } |