Battery Buddy

Your rating: None Average: 4.8 (22 votes)

Fully discharging a battery and charging it back to full charge again wears it out sooner than you might expect. Battery Buddy can help you increase the battery lifetime by automatically pausing and resuming charging. You can set alerts for low and full enough charge levels, too.

Important: Battery Buddy 3.6-1 and later releases require SailfishOS 3.3. Legacy builds for SailfishOS and later can be downloaded manually from GitHub releases page.

New! Experimental aarch64 build is now available! Test with care...

The application comes with a service component that takes care of charger control and alerts. This means that the application doesn't have to be opened for alerts and limits to work - which is against Jolla Store policy, and hence worth mentioning here. You can control the service from the application (start/stop and enable/disable on boot).

You can better see what's going on by running the application or daemon with --verbose or --debug options. Help is available with --help option.

Please note that the charger control mechanism may not work for every device out there. So far it has been successfully tested with the following devices:

  • F(x)tec Pro¹
  • Jolla Phone
  • Sony Xperia 10
  • Sony Xperia X
  • Sony Xperia X Compact
  • Sony Xperia XA2
  • Sony Xperia XA2 Ultra
  • Sony Xperia Z3 Compact Tablet

Please let me know if it works for your device, or if it doesn't work!

Bug reports and translations are most welcome!

If you like my work and would like to support me, you can now buy me a coffee.

Source code can be found in GitHub.

Application versions: 
File harbour-batterybuddy-3.5-2.armv7hl.rpm108.94 KB19/10/2020 - 09:32
File harbour-batterybuddy-3.5-2.i486.rpm115.23 KB19/10/2020 - 09:32
File harbour-batterybuddy-3.6-2.armv7hl.rpm109.56 KB16/11/2020 - 00:46
File harbour-batterybuddy-3.6-2.i486.rpm115.79 KB16/11/2020 - 00:46
File harbour-batterybuddy-3.6-3.aarch64.rpm116.3 KB17/11/2020 - 18:17
File harbour-batterybuddy-3.6-3.armv7hl.rpm114.71 KB17/11/2020 - 18:17
File harbour-batterybuddy-3.6-3.i486.rpm120.87 KB17/11/2020 - 18:17


  • Experimental aarch64 build available against SailfishOS
  • Add Polish translation (thanks, atlochowski)
  • Updated Chinese translation (thanks, dashinfantry)
  • Updated Finnish translation


  • Add German translation (thanks, dryo)


  • Compiled for SailfishOS >= 3.3
  • Show charging/discharging current
  • Speed up service control buttons


  • Update Chinese translation (thanks, dashinfantry)
  • Update French translation (thanks, esang-dev)


  • Fix service control buttons on SFOS 3.4
  • Drop custom slider element


  • Check service status when starting app
  • Add controls to enable/disable service at boot
  • Trigger notifications when charger is connected/disconnected
  • Fix notifications and sounds (broken since 3.2)
  • Reset notification ID after closing it
  • Fix cover page text wrap issue
  • Minor repo/code cleanup


  • Start user service at boot
  • Remove all old versions of the service
  • Fix start and stop service controls
  • Update Swedish translation (thanks, eson57)


  • Run daemon without root privileges
  • Add start and stop daemon controls


  • Update Chinese translation (thanks, dashinfantry)
  • Don't alert on "100% idle" (e.g. emulator)


  • Reimplemented systemd service controls charging and notifications
  • GUI doesn't have to be open for proper operation
  • Added Ko-Fi donation link
  • Translation fixes
  • Identical with 2.99-1 / v3.0 beta 1

Full changelog in GitHub.


enrish's picture

Genius! I hoped for this new feature for long, as i often missed notifications when in another room. Thanks a lot. I also had problems after the very last update, and uninstalling-reinstalling did it.

mz_i_norge's picture

Why is it not possible to charge the battery up to 100% with automatic charging control? That stops at 95%.

direc85's picture

Thanks for feedback! That's just an arbitrary maximum value I chose. I have to revisit the sliders, too, because it's quite hard to get the value exactly right on Jolla Phone with its small display. I'll fix both of these in a future release.

t0t3u's picture

Fixed by reinstalling it.

t0t3u's picture

Don't know if it's related but it failes to start after last update:
[nemo@Sailfish ~]$ harbour-batterybuddy
[I] unknown:0 - Starting Battery Buddy...
[I] unknown:0 - Loaded lowAlert 30
[I] unknown:0 - Loaded highAlert 76
[I] unknown:0 - Loaded interval 60
[I] unknown:0 - Loaded limitEnabled 0
[I] unknown:0 - Loaded notificationsEnabled 1
[I] unknown:0 - Loaded lowLimit 50
[I] unknown:0 - Loaded highLimit 70
[I] unknown:0 - Loaded limitEnabled 0
[I] unknown:0 - Reading capacity from "/sys/class/pow
[I] unknown:0 - Reading charge state from "/sys/class
[I] unknown:0 - Reading charger status from "/sys/cla
Segmentation fault
[nemo@Sailfish ~]$

direc85's picture

Thanks for reporting. I'll have a look at the issue. Good to know that reinstalling helped, too...

t0t3u's picture

Great work!
I confirm that the automated part works on X10.

fllp's picture

Version 2.0 is a wonderful update. Thank you!
Automatic change limit works on Xperia X. Like a charm.

direc85's picture

Thanks for reporting, adding that one, too!

PawelSpoon's picture

Automatic turn off did work too

direc85's picture

Good to hear!

If manual part works, the automated part works too - as long as the logic behind works. So far so good :)

PawelSpoon's picture

At least manual part does work on X10 . Great !!

nephros's picture

Confirmed. This is great (and came out just as I was in the process of trying to get X10 support into battery notifier).

direc85's picture

Great! I'll add it to the list in the next update!