Battery level alert for Sailfish OS
Find a file
2022-08-10 21:53:15 +03:00
application Version bump to v4.1.0-beta4 2022-08-10 21:53:15 +03:00
rpm Version bump to v4.1.0-beta4 2022-08-10 21:53:15 +03:00
service Version bump to v4.1.0-beta4 2022-08-10 21:53:15 +03:00
.gitignore Create RPM build script 2021-10-10 23:23:22 +03:00
build-rpms.sh Print changelog at the end of the build script 2022-08-10 00:37:15 +03:00
harbour-batterybuddy.pro Split project into GUI application and CLI service 2020-04-24 11:22:07 +03:00
LICENSE.md Move license, readme and screenshots back to project root 2020-06-14 15:59:33 +03:00
README.md Respecting ringtone volume is now fixed 2020-12-30 01:32:41 +02:00
screenshot1.jpg Move license, readme and screenshots back to project root 2020-06-14 15:59:33 +03:00
screenshot2.jpg Move license, readme and screenshots back to project root 2020-06-14 15:59:33 +03:00
screenshot3.jpg Move license, readme and screenshots back to project root 2020-06-14 15:59:33 +03:00
screenshot4.jpg Move license, readme and screenshots back to project root 2020-06-14 15:59:33 +03:00

harbour-batterybuddy

Battery Buddy is a Sailfish OS application that pauses and resumes charging at set percentage values, or alerts the user when the battery charge level gets too high or too low. This helps in increasing the battery lifespan. There are a lot of research material on this, the numbers I pulled into the application as a reference were pulled from Battery Universe online article BU-808.

The application logo is a 5 minute craft at the moment, and can be considered a permanent temporary solution. It doesn't look nice in the notification view. If you have the skills to make a better logo using the same idea (a heart inside the battery) and are willing to spend a little time for this project, please feel free to send a new logo to me.

The application consist of three parts: the GUI, the monitoring daemon and the filesystem permission daemon. The filesystem daemon, harbour-batterybuddy-oneshot.service, always starts when the device boots. Its sole purpose is to set correct permissions for the charger control file of the device, so that everything else can be started as user nemo, minimizing security impact. The monitoring daemon, harbour-batterybuddy.service, actually sends the notifications and pauses/resumes charging.

Keep your battery healthy and help our dying planet, even if it is just for a tiny little bit!