mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 12:20:07 +00:00
comments
This commit is contained in:
parent
f7645af7e3
commit
27b25196d8
1 changed files with 1 additions and 0 deletions
|
@ -1312,6 +1312,7 @@ _p9k_prompt_battery_set_args() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
Linux|Android)
|
Linux|Android)
|
||||||
|
# See https://sourceforge.net/projects/acpiclient.
|
||||||
local -a bats=( /sys/class/power_supply/(BAT*|battery)/(FN) )
|
local -a bats=( /sys/class/power_supply/(BAT*|battery)/(FN) )
|
||||||
(( $#bats )) || return
|
(( $#bats )) || return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue