mirror of
https://github.com/aristocratos/btop.git
synced 2024-05-18 11:22:46 +12:00
add show_battery_power option to menu
This commit is contained in:
parent
7a188bfaaf
commit
578b01e06b
|
@ -197,6 +197,8 @@ namespace Config {
|
|||
|
||||
{"selected_battery", "#* Which battery to use if multiple are present. \"Auto\" for auto detection."},
|
||||
|
||||
{"show_battery_watt" "#* Show power stats of battery next to charge indicator"},
|
||||
|
||||
{"log_level", "#* Set loglevel for \"~/.config/btop/btop.log\" levels are: \"ERROR\" \"WARNING\" \"INFO\" \"DEBUG\".\n"
|
||||
"#* The level set includes all lower levels, i.e. \"DEBUG\" will show all logging info."},
|
||||
#ifdef GPU_SUPPORT
|
||||
|
@ -291,6 +293,7 @@ namespace Config {
|
|||
{"net_auto", true},
|
||||
{"net_sync", true},
|
||||
{"show_battery", true},
|
||||
{"show_battery_watts", true},
|
||||
{"vim_keys", false},
|
||||
{"tty_mode", false},
|
||||
{"disk_free_priv", false},
|
||||
|
|
|
@ -354,6 +354,13 @@ namespace Menu {
|
|||
"Can be both batteries and UPS.",
|
||||
"",
|
||||
"\"Auto\" for auto detection."},
|
||||
{"show_battery_watts",
|
||||
"Show battery power.",
|
||||
""
|
||||
"Shows power consumed by device when not connected to power",
|
||||
"Shows power charging power otherwise"
|
||||
"",
|
||||
"True or False."},
|
||||
{"log_level",
|
||||
"Set loglevel for error.log",
|
||||
"",
|
||||
|
|
Loading…
Reference in a new issue