Laptop battery.

12 risposte [Ultimo contenuto]
axgb
Offline
Iscritto: 09/22/2013

My laptop battery life is far from ideal; about 2 hours.
It is a Asus x200CA.
It might be because the battery isn't very large, in which case I will have to just live with it,
However, are there any software things I can change (apart from the obvious screen brightness)

Dave_Hunt

I am a member!

Offline
Iscritto: 09/19/2011

What about installing the laptop-mode-tools package? It's in the Trisquel main repositories. Just do

sudo apt-get update

and

sudo apt-get install laptop-mode-tools

from the terminal.

For information on installing and configuring, [http://ubuntuhandbook.org/index.php/2014/01/install-laptop-mode-tools-ubuntu/ see this guide]

kepeken
Offline
Iscritto: 12/19/2013

yes, I use this tool also, but I just changed the configuration file in /etc/laptop-mode/conf.d/cpufreq.conf

from:
> BATT_CPU_GOVERNOR=ondemand

to:
> BATT_CPU_GOVERNOR=powersave

Another powerful tool is the powertop, already in the repository. Documentation is here: https://01.org/sites/default/files/page/powertop_users_guide_201406.pdf

note: I don't know if it is safe to use more than one of this tools, so be careful.

lembas
Offline
Iscritto: 05/13/2010
rakyi
Offline
Iscritto: 05/09/2014

I like TLP. It does a lot of the things mentioned in the wiki but also conflicts with other power saving tools like laptop-mode-tools.

http://linrunner.de/en/tlp/tlp.html

axgb
Offline
Iscritto: 09/22/2013

thank you,

I have installed laptop-power-tools.

Hopefully it works, I will see tommorow at school.

Also, I have a problem that when I close the lid, I want it to lock and ask for the password when opened again. How can I set that up? because there are many people at school who might do the wrong things with it.

onpon4
Offline
Iscritto: 05/30/2012

Under "Brightness & Lock", turn Lock on, and set it to lock when the screen turns off.

Dave_Hunt

I am a member!

Offline
Iscritto: 09/19/2011

Try the Power section in gnome-tweak-tool;

Chris

I am a member!

Offline
Iscritto: 04/23/2011

I believe you can install powertop (a free software utility from Intel) from Trisquel's repository if you have an Intel machine.

rakyi
Offline
Iscritto: 05/09/2014

It works for Intel, AMD, ARM and UltraSPARC processors. [1]

However, powertop isn't a power management tool but merely an analysis tool. Any recommended settings you apply with powertop get lost upon the next system reboot. To make powertop's settings permanent you need a tool like TLP (or Laptop Mode Tools). [2]

[1] https://en.wikipedia.org/wiki/PowerTOP
[2] http://linrunner.de/en/tlp/docs/tlp-faq.html#powertop

Chris

I am a member!

Offline
Iscritto: 04/23/2011

Thanks for clarifying that. It's not something I use, but have been told numerous times that people have seen major improvements in the battery life from using it.

davidnotcoulthard (non verificato)
davidnotcoulthard

How should https://wiki.manjaro.org/index.php/PowerTOP_to_Optimise_Laptop_Power_Consumption be modified (if it should at all) to work on Trisquel? Any ideas?

Or maybe you should go for TLP instead: http://www.webupd8.org/2013/04/improve-power-usage-battery-life-in.html

rakyi
Offline
Iscritto: 05/09/2014

The process as described in the Manjaro wiki should work in Trisquel without modification. But I think its better to use TLP (or Laptop Mode Tools) as it does just that (a bunch of scripts) and also provides sane defaults and a few more useful things like the ability to easily set I/O scheduler, restore network device state (on/off) after restart, display system info/statistics etc. It also automatically switches between settings for ac/batttery after plugging/pulling adapter cable.

If you have an Intel graphics, tweaking some of the related kernel module parameters might decrease power consumption too:

https://wiki.archlinux.org/index.php/I915#Module-based_Powersaving_Options