1
0
Fork 0
mirror of synced 2024-05-26 20:11:09 -04:00

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

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