diff options
author | Dion Ahmetaj <Dion Ahmetaj> | 2017-02-15 14:00:01 -0500 |
---|---|---|
committer | Dion Ahmetaj <Dion Ahmetaj> | 2017-02-16 14:35:01 -0500 |
commit | 69ab14d91e67fdf242b00c83ab85ce280e55f6f4 (patch) | |
tree | 2f6ebdf501907f94f5cbd1f23adcbf65fad2de83 /src/daemon/command_server.cpp | |
parent | Merge pull request #1719 (diff) | |
download | monero-69ab14d91e67fdf242b00c83ab85ce280e55f6f4.tar.xz |
More robust battery status handling.
Added an extra path to check for linux power supply status.
Added ignore battery option. If set to true, then when we can't figure out
the power status, we'll assume the system is plugged in.
Diffstat (limited to 'src/daemon/command_server.cpp')
-rw-r--r-- | src/daemon/command_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp index 4133b90d9..365a7d03b 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -96,7 +96,7 @@ t_command_server::t_command_server( m_command_lookup.set_handler( "start_mining" , std::bind(&t_command_parser_executor::start_mining, &m_parser, p::_1) - , "Start mining for specified address, start_mining <addr> [<threads>] [do_background_mining], default 1 thread, no background mining" + , "Start mining for specified address, start_mining <addr> [<threads>] [do_background_mining] [ignore_battery], default 1 thread, no background mining" ); m_command_lookup.set_handler( "stop_mining" |