Battery level alert for Sailfish OS
Find a file
2023-03-05 11:27:26 +02:00
application Version bump to v4.2.4-1 2023-03-05 11:27:26 +02:00
rpm Version bump to v4.2.4-1 2023-03-05 11:27:26 +02:00
service Version bump to v4.2.4-1 2023-03-05 11:27:26 +02:00
.gitignore Ignore Visual Studio Code settings path 2023-03-04 15:06:30 +02:00
build-rpms.sh Print changelog at the end of the build script 2022-08-10 00:37:15 +03:00
harbour-batterybuddy.pro Add ImageButton 2022-08-28 00:52:34 +03:00
LICENSE.md Move license, readme and screenshots back to project root 2020-06-14 15:59:33 +03:00
README.md Update README.md 2022-08-28 02:12:42 +03:00
screenshot1.jpg Update screenshots 2022-08-28 01:52:54 +03:00
screenshot2.jpg Update screenshots 2022-08-28 01:52:54 +03:00
screenshot3.jpg Update screenshots 2022-08-28 01:52:54 +03:00
screenshot4.jpg Update screenshots 2022-08-28 01:52:54 +03:00

harbour-batterybuddy

Screenshot 1 Screenshot 4

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 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 defaultuser (or nemo), minimizing security impact. The monitoring daemon, harbour-batterybuddy.service, actually sends the notifications and pauses/resumes charging.

There's a logging feature, too, which writes to a simple text log. Depending on the log level it can log percentage changes, temperature changes and momentary device current draw. Note that the measurement can only be done when the device is not in deep sleep mode, so the power draw reading can never reflect the true lowest possible values.

You can download Battery Buddy using Storeman, or directly from Openrepos. For support, open a ticket or check out the Battery Buddy support thread over at Sailfish OS forum!

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