mirror of
1
0
Fork 0

do not take into account peripheral device batteries when computing battery charge, fixes #161

This commit is contained in:
Gregory Pakosz 2018-05-27 17:51:26 +02:00
parent faece14dbd
commit 8481ec351b
1 changed files with 2 additions and 0 deletions

View File

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