A shell script that notifies you when the battery percentage reaches up to 95% on Linux
- Clone the repository to your local machine
git clone git@github.com:MiinaMagdy/battery-notification.git
- install
pulseaudio
to play sounds
sudo apt-get install pulseaudio-utils
- Run the following command
chmod +x ./battery-notification/battery-full-notification.sh
- copy to
/usr/bin/
directory
sudo cp -r ./battery-notification /usr/bin/
- Open startup applications
gnome-session-properties
- press the
add
button and add the following in the command section
/usr/bin/battery-notification/battery-full-notification.sh
- Reboot and Done!