do not take into account peripheral device batteries when computing battery charge, fixes #161
This commit is contained in:
parent
faece14dbd
commit
8481ec351b
1 changed files with 2 additions and 0 deletions
|
@ -253,6 +253,8 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
|||
# ;;
|
||||
# *Linux*)
|
||||
# while IFS= read -r batpath; do
|
||||
# grep -i -q device "$batpath/scope" 2> /dev/null && continue
|
||||
#
|
||||
# if [ x"$discharging" != x"true" ]; then
|
||||
# discharging=$(grep -qi "discharging" "$batpath/status" && echo "true" || echo "false")
|
||||
# fi
|
||||
|
|
Loading…
Reference in a new issue