pull/479/head
romkatv 5 years ago
parent f7645af7e3
commit 27b25196d8

@ -1312,6 +1312,7 @@ _p9k_prompt_battery_set_args() {
;;
Linux|Android)
# See https://sourceforge.net/projects/acpiclient.
local -a bats=( /sys/class/power_supply/(BAT*|battery)/(FN) )
(( $#bats )) || return

Loading…
Cancel
Save