Skip to content

Commit

Permalink
battery percentage monitoring now working.馃槈 馃敟
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDimmitt committed Sep 23, 2017
1 parent df4b2d4 commit b5626a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .hide/app/install/battery_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if [ "$result" == "Yes" ] ; then
$DIR/./3_install_launch_agent.sh
elif [ "$result" == "No" ] ; then
echo Not Charging;
if (( $(echo "$percentage < $test" | bc -l) )) ; then
if (( $(echo "$percentage < $battery_threshold" | bc -l) )) ; then
# echo not charging and battery unacceptable level.
# osascript -e 'display notification "Computer not charging and low battery program disabled." with title "Aerial Desktop"'
$DIR/./../uninstall/unstage_aerial_desktop.sh
Expand Down

0 comments on commit b5626a1

Please sign in to comment.