Battery Buddy

Your rating: None Average: 4.9 (38 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.

Note: Update to 3.15 resets all intervals to 24h, so please check the settings!

New! Version 4.1.0 brings initial support for Jolla Tablet, but it has not yet been tested on a real device.

Important: Sailjail support is enabled in Battery Buddy 4.0.0-1, which means it requires at least Sailfish OS 4.3 to work properly. For Sailfish OS 3.3 and up you should be able to use Battery Buddy 3.17-1. For older versions Battery Buddy 3.15-1 should work fine. For Sailfish OS 2.2 you have to download the legacy build.

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).

There is now a logging option, which can be accessed via the Settings page pulley menu, with three logging options. You can copy the log contents, too, so submitting the service log for debugging purposes is now a lot more convenient! Using --verbose and --debug flags still work as before.

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¹
  • Fairphone 2
  • Jolla Phone
  • Sony Xperia 10 / 10 II / 10 III
  • Sony Xperia X / X Compact
  • Sony Xperia XA2 / XA2 Plus / 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.16.2-1.aarch64.rpm128.95 KB24/11/2021 - 23:09
File harbour-batterybuddy-3.16.2-1.armv7hl.rpm125.24 KB24/11/2021 - 23:09
File harbour-batterybuddy-3.16.2-1.i486.rpm134.58 KB24/11/2021 - 23:09
File harbour-batterybuddy-3.17.0-1.aarch64.rpm129.5 KB20/03/2022 - 00:52
File harbour-batterybuddy-3.17.0-1.armv7hl.rpm126.65 KB20/03/2022 - 00:52
File harbour-batterybuddy-3.17.0-1.i486.rpm135.81 KB20/03/2022 - 00:52
File harbour-batterybuddy-4.0.0-1.aarch64.rpm127.77 KB20/03/2022 - 21:53
File harbour-batterybuddy-4.0.0-1.armv7hl.rpm124.93 KB20/03/2022 - 21:53
File harbour-batterybuddy-4.0.0-1.i486.rpm134.15 KB20/03/2022 - 21:53
File harbour-batterybuddy-4.1.0-1.aarch64.rpm174.43 KB28/08/2022 - 01:34
File harbour-batterybuddy-4.1.0-1.armv7hl.rpm172.03 KB28/08/2022 - 01:34
File harbour-batterybuddy-4.1.0-1.i486.rpm181.84 KB28/08/2022 - 01:34
File harbour-batterybuddy-4.1.1-1.aarch64.rpm174.7 KB28/08/2022 - 10:45
File harbour-batterybuddy-4.1.1-1.armv7hl.rpm172.31 KB28/08/2022 - 10:45
File harbour-batterybuddy-4.1.1-1.i486.rpm182.25 KB28/08/2022 - 10:45


  • Fixup! Use correct colors in battery graphic
  • Fixup! Enable low battery animation
  • Move all subpages to MainPage pull down menu
  • Update Swedish translation (thanks, eson57)
  • Update Polish translation (thanks, wetab73)
  • Update copyrights


  • Initial Jolla Tablet support (beta)
  • Redesign the logo and battery graphic
  • Search for control files using loops
  • Don't try to use non-existent files
  • Remove unused signals from service
  • Update Swedish translation (thanks, eson57)
  • Use ColumnView to show the log contents with formatting (thanks, nephros!)
  • Log charging/discharging current
  • Log temperature changes with resolution of one degree Celsius
  • Assume the charge current value always changes
  • Print correct log file name
  • Invert the charge current sign if necessary
  • Print changelog at the end of the build script
  • Use custom ImageButton in About page
  • Remove unused files
  • Rename internal logging functions for clarity
  • Built with Sailfish OS SDK 3.9 for


  • Enable sandboxing with appropriate permissions (GUI only)
  • Use QML DBusInterface for user service manipulation
  • Drop support for SFOS 4.2 and older
  • Clean up systemd service handling during install/update/uninstall
  • Built with Sailfish OS SDK 3.8 for


  • Disable sandboxing
  • Fix install/upgrade/uninstall scriptlets
  • Service binary consumes less resources
  • Don't try to close notifications if they are not open


  • Fix .spec bin file path (thanks, leon and nephros)
  • Built with Sailfish OS SDK 3.7 for

Full changelog in GitHub.


direc85's picture

Thank you for your kind words!

Battery temperature is a great idea, although I think it has to be implemented per-model. I'll see what I can do!

direc85's picture

There was a typo in the translation files, which caused version 3.12-2 to be released without any translations at all. This is fixed in 3.12-3, and I pulled the broken version. Sorry for any inconvenience.

vansid's picture

Is Sailfish 4.0.1 Koli supported in the current release?

direc85's picture

Yes, it is tested and supported! Even multi user devices are supported - every user gets their own charging settings :)

nthn's picture

Hello, please consider applying for translation hosting at, this will make it easier for people to translate your application.

direc85's picture

Thanks for the suggestion. I actually used Weblate when I participated in an another project a few days ago, and it sure looks nice!

moses_s's picture

The app still doesn't work properly on Sony Xperia 10 Plus (mine is the dual-sim model i4213) there is a bug since the Sailfish 3.4 updade (I am running v3.4.0.24 Pallas-Yllastunturi). The app does not stop the charging of the phone once "Pause charging limit" setting is met. Thanks.

direc85's picture

This should be fixed in 3.8-1. Is it fixed for you now?

moses_s's picture

Yes. Charging control works fine now in version 3.8-1, just like it used to in the old days :)

Thanks a lot Matti. Is there a way to support your efforts via contributions/donations?


huggymann's picture

Yes, check the app description and lood for

buy me a coffee
huggymann's picture

Hello, i am using xperia x compact phone. the notifications are working fine but the automatic charging control does not. I restarted the service multiple time and restarted my phone as well. It always charges up to 100% . Any ideas what i am doing wrong?

i have sailfish


direc85's picture

This should be now fixed in version 3.8-1. Does it work for you?

huggymann's picture

hello direc, strange thing, it is not working yet. I supposed to but after trying out today, its not working. I just reinstalled sailfish and installed battery buddy, but its not working :(

what i can see is that when i hit on "start background service" in the options to disable it. It will never finish. the circle starts blinking forever. Does that help you? Can i do anyting to help you debugging?

direc85's picture

Actually  let's take this to GitHub Issues instead. I'll open a ticket for you.

direc85's picture

I guess the background service doesn't start or doesn't function properly... Can you post output of the following commands?

systemctl --user status harbour-batterybuddy.service

systemctl --user stop harbour-batterybuddy.service

harbour-batterybuddy-daemon --debug

(Now try to change a few settings in the application  and exit the service with Ctrl-C.)

I think I'll improve the debugging abilities to make it easier to report new devicea and hunt down bugs.

huggymann's picture

Thank you so much!

Maximilian1st's picture

I just bought an Xperia 10 and the app does not start at boot and automatic charging control does not work.

direc85's picture

Thanks for reporting. I found the bug and fixed it in 3.8-1. Does it work for you now?

Maximilian1st's picture

Hi and thank you for this utility. I use a Sony Xperia XZ2 Compact and the app sends warnings when needed. It disregards the silent ambience which is a problem at night but unfortunately the automatic charging control does not work. ;-p you could add this phone to the working list.

direc85's picture

This should have been fixed in 3.7-1 already. Could you please test it?

Historyscholar's picture

Can you update Chinese translation?I have update it.

direc85's picture

I just merged a small update yesterday, did you mean that?

I added one new string ("Current:" as in electric current) so there's not that much to update this time :)

moses_s's picture

Bug: I second the last commentor and confirm that on the Sony Xperia 10 Plus (mine is the dual-sim model i4213) there is a bug since the Sailfish 3.4 updade (I am running v3.4.0.24 Pallas-Yllastunturi). The app does not stop the charging of the phone once "Pause charging limit" setting is met. By the way, thanks a lot for a great, great app, direc85!

direc85's picture

Thanks, this should be now fixed in 3.8-1.

zipotron's picture

Hello! I just want to report a regression bug, since the last two updates, when the charge reach the 'stop charging limit', is true that charge don't rice more but seams that charging doesn't stop, and before was stopping and discharging until the low limit. I hope the report is useful for improve this amazing app.

direc85's picture

Sorry for the delay, but it should be fixed in 3.8-1. Can you test it?

PawelSpoon's picture

Works now well on xperia 10 !

direc85's picture

Great! Thanks for the update!

rob_k's picture

Yes, solved after reboot. Thanks!

rob_k's picture

Battery Buddy makes a pling sound when charging from 75% every minute, even though my settings are 89%, 5 minutes. Great app nonetheless! It's up to date, so 3.5-2 I guess.