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 | 23c73269caec8638eab8ae8107f91aa06c0f3431 (diff) | |
| download | monzero-core-e4dfd2fb6345c1d212ca3706254faa988948beb3.tar.gz monzero-core-e4dfd2fb6345c1d212ca3706254faa988948beb3.tar.xz monzero-core-e4dfd2fb6345c1d212ca3706254faa988948beb3.zip | |
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(); }; } |
