add show_battery_power option to menu

This commit is contained in:
jkre 2023-12-14 22:19:22 +01:00
parent 7a188bfaaf
commit 578b01e06b
2 changed files with 10 additions and 0 deletions

View file

@ -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},

View file

@ -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",
"",