We have moved to a new Sailfish OS Forum. Please start new discussions there.
7

TLP power management tools for Jolla Tablet, please :)

asked 2017-05-26 11:40:03 +0300

Moo-Crumpus gravatar image

updated 2018-11-29 23:11:34 +0300

rozgwi gravatar image

Source of TLP.

TLP brings you the benefits of advanced power management for Linux without the need to understand every technical detail. TLP comes with a default configuration already optimized for battery life, so you may just install and forget it. Nevertheless TLP is highly customizable to fulfil your specific requirements.

TLP is a pure command line tool with automated background tasks. It does not contain a GUI.

EDIT 2018-11-29: Regarding the poor battery life with the XA2 at the moment, would it be possible to have TLP packaged and tested? Should the same procedure work as given in the answer for the J1 / Tablet?

Related topic in TJC: battery-life-xa2-4113-sailfish-3008

edit retag flag offensive close delete

Comments

4

for testing (on your own risk) run

git clone https://github.com/linrunner/TLP.git
cd TLP
devel-su
pkcon install make
make install
cp *.service /etc/systemd/system
systemctl daemon-reload
systemctl start tlp.service
systemctl status tlp.service
systemctl start tlp-sleep.service
systemctl status tlp-sleep.service

and finally

systemctl enable tlp.service
systemctl enable tlp-sleep.service
Moo-Crumpus ( 2017-05-26 12:49:45 +0300 )edit

tlp.service - TLP system startup/shutdown Loaded: loaded (/etc/systemd/system/tlp.service; enabled) Active: active (exited) since Fri 2017-05-26 11:47:33 CEST; 1min 35s ago Docs: http://linrunner.de/tlp Process: 742 ExecStart=/usr/sbin/tlp init start (code=exited, status=0/SUCCESS) Main PID: 742 (code=exited, status=0/SUCCESS) CGroup: /system.slice/tlp.service

May 26 11:47:33 SailfishTablet tlp[742]: Applying power save settings...done. May 26 11:47:33 SailfishTablet tlp[742]: Setting battery charge thresholds...done.

Moo-Crumpus ( 2017-05-26 12:50:48 +0300 )edit
3

Add it to Mer / OBS? Should not be too much of a task.

tortoisedoc ( 2017-05-26 13:21:58 +0300 )edit

DIY rather than DIT?; http://talk.maemo.org/showthread.php?t=92963

Spam Hunter ( 2017-05-26 15:48:10 +0300 )edit

Did someone with a Jolla Tablet test this - does it improve the iffy battery life?

RussH ( 2017-06-30 12:17:00 +0300 )edit

1 Answer

Sort by » oldest newest most voted
9

answered 2018-11-30 12:18:03 +0300

Nieldk gravatar image

SDFY ;) https://build.merproject.org/package/show/home:nielnielsen/tlp

edit flag offensive delete publish link more

Comments

Quick question, how does the setup differ from the git package? On a normal linux installation it's just basically <package-manager> install tlp and that's it, if you don't want to tweak it.</package-manager>

And also, thanks a lot for the RPM build! :)

raketti ( 2018-11-30 12:29:25 +0300 )edit

My build? its the same. The tarball is the most recent release. As for package manager, yeah, zypper or pkcon. IF you (dare to) add my repository ;)

Nieldk ( 2018-11-30 20:47:28 +0300 )edit

Installed and just left the default options, haven't noticed any dramatical issues or powersaving for that matter. I have a hunch that it's nt as efficient on mobile. At least without some tweaks.

Might dwell in to the settings later and monitor the battery drain and cpu usage more closely. But for now, thanks for the easy-install-package! :)

raketti ( 2018-11-30 22:28:24 +0300 )edit

Once some good settings are found (or if) post them, and I will make a new package

Nieldk ( 2018-11-30 22:45:39 +0300 )edit

I've had the TLP running for a while now and the battery life seems to be more than ok, if:

  • Wi-Fi isn't on constantly
  • Bluetooth isn't on constantly
  • 4G mobile data isn't used, but 3G instead

I have a strong feeling that TLP has minor effect on the power save at the moment with default settings. I have approximately 39 hours use with a single charge (battery level currently at 18%. So I'd say that's enough for two day's usage. I unplugged the phone yesterday (2018-12-05) at 6:00 (roughly) and have used it as I would normally.

I'll turn TLP off and see if I can get to same usage time as with the default settings. If it drops significantly lower, then I'll start tweaking the TLP settings, but for now I can't say for sure what's the effect, since the SFOSX is pestered by battery drain issues in general and for the reasons listed before.

raketti ( 2018-12-06 21:26:41 +0300 )edit
Login/Signup to Answer

Question tools

Follow
7 followers

Stats

Asked: 2017-05-26 11:40:03 +0300

Seen: 914 times

Last updated: Nov 30 '18