Battery charged or low notifications Traduire la page en français Webmaster's note: I translated this page with translation websites If you see any errors, please let me know Suspend* ≤ 20% charge remaining Notification** « Plug the PC into an electrical outlet » ≤ 25% charge remaining Notification** « Unplug the PC from the electrical outlet » = 100% charge Notification « The battery is charging... » Notification « The battery is discharging... » • * = repeat every five minutes ** = repeat every minute • For Linux Mint 22, Xubuntu 20.04 to 24.04 Not tested on other distributions, versions • Sources: Icon, suspend and notification Install Run in terminal: sudo apt install wget wget -P /tmp https://tux.alwaysdata.net/batterie.english.tar.xz tar -hvxf /tmp/batterie.english.tar.xz -C ~/ chmod +x .battery/*.sh echo "@reboot root /home/username/.battery/suspend.sh" | sudo tee -a /etc/cron.d/suspend mkdir .config/autostart mv .battery/*.desktop .config/autostart • Run in terminal for Cinnamon: sed -i 's/svg/png/g' .battery/*.sh • Restart the PC • Run in terminal for cancel: rm .config/autostart/plug-the-pc-into-an-electrical-outlet-or-unplug-it.desktop rm .config/autostart/the-battery-is-charging-or-discharging.desktop sudo rm /etc/cron.d/suspend • Restart the PC Delete sound Run in terminal: sed -i 's/paplay/#paplay/g' .battery/plug-the-pc-into-an-electrical-outlet-or-unplug-it.sh sed -i 's/paplay/#paplay/g' .battery/the-battery-is-charging-or-discharging.sh • Restart the PC • Run in terminal for cancel: sed -i 's/#paplay/paplay/g' .battery/plug-the-pc-into-an-electrical-outlet-or-unplug-it.sh sed -i 's/#paplay/paplay/g' .battery/the-battery-is-charging-or-discharging.sh • Restart the PC Improve mpv Media Player Battery charged or low notifications Clean Papirus icon pack Replace OS boot logo Elegant theme based on Materia A local FTP server and website Your webmaster is also a writer Latest updates Contact |