Battery level alert for Sailfish OS
Find a file
2022-03-20 19:26:57 +02:00
application Replace custom process.h with QML DBusInterface 2022-03-20 19:26:57 +02:00
rpm Fix errors in postun/posttrans scriptlets 2022-03-19 23:07:11 +02:00
service Don't try to close unopened notifications 2022-03-20 19:17:50 +02:00
.gitignore Create RPM build script 2021-10-10 23:23:22 +03:00
build-rpms.sh Improve build script 2021-11-24 21:39:20 +02: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!