You are not logged in.
Hey all,
I finally took the plunge and installed laptop-mode-tools. I edited the main configuration file to my liking and enabled those extra powersaving features I need. The other ones I have disabled. However, when I enable laptop-mode my battery is drained faster than without! I am pretty sure this is not what it should do ![]()
I'm clueless as for where to look though, because I didn't change any critical setting (AFAIK) and I didn't enable any 'extra' features: i just enabled those found in /etc/laptop-mode/conf.d that I need and disabled those that I don't need. Can you help me pin-point which feature of laptop-mode-tools draws more power out of my battery?
Here's the list of features I have enabled:
auto-hibernate.conf
dpms-standby.conf
ethernet.conf
intel-hda-powersave.conf
intel-sata-powermgmt.conf
lcd-brightness.conf
nmi-watchdog.conf
runtime-pm.conf
sched-mc-power-savings.conf
sched-smt-power-savings.conf
terminal-blanking.conf
usb-autosuspend.conf
wireless-power.confThose that I have disabled:
ac97-powersave.conf
battery-level-polling.conf
bluetooth.conf
configuration-file-control.conf
cpufreq.conf
eee-superhe.conf
exec-commands.conf
hal-polling.conf
start-stop-programs.conf
video-out.conf
wireless-ipw-power.conf
wireless-iwl-poweac97-powersave.conf
battery-level-polling.conf
bluetooth.conf
configuration-file-control.conf
cpufreq.conf
eee-superhe.conf
exec-commands.conf
hal-polling.conf
start-stop-programs.conf
video-out.conf
wireless-ipw-power.conf
wireless-iwl-power.confr.confThanks in advance!
PS: if you need any files, please tell me. As I said I am clueless what could cause this, so I could give you a list of all the laptop-mode files I have edited but I don't think this would help anything.
EDIT: I have disabled the cpufreq one because I use cpupower and have that setup without any laptop-mode-tools interference. I use the on-demand governor all the time. An extra question: do I need those sched-{mc,smt} features in laptop-mode, if I have configured those in cpupower as well? For now I left them in, but I was gonna figure this one out still.
Last edited by Unia (2012-04-20 17:55:51)
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Try powertop? (Or powertop2?)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Try powertop? (Or powertop2?)
To see what draws power? Yea, I have done so before. Good idea, will do tomorrow!
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Finally had the time to do some testing with powertop. The highest result I get are these:
Top causes for wakeups:
35,8% (309,7) [Rescheduling interrupts] <kernel IPI>
28,8% (248,8) PS/2 toetsenbord/muis/touchpad interruptThe first I have also without laptop-mode, the second I don't have. However, it does seem to drain a little slower now. Anyway, any hints to persue to get those wakeups down?
PS: powertop also suggested this:
Suggestion: Enable the CONFIG_INOTIFY kernel configuration option.
This option allows programs to wait for changes in files and directories
instead of having to poll for these changeDoes the Arch kernel have that by default or do I have to build my own kernel for this?
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
Does the Arch kernel have that by default or do I have to build my own kernel for this?
$ cat /proc/config.gz | gunzip | grep CONFIG_INOTIFY
CONFIG_INOTIFY_USER=y
Offline
$ cat /proc/config.gz | gunzip | grep CONFIG_INOTIFY
Just a side note: One can do this instead:
zgrep CONFIG_INOTIFY /proc/config.gzOffline
Thanks roentgen and Smarthound, I'm a kernel noob ![]()
Donniezazen, before I try that I'm gonna keep track of how long it takes for the battery to drain with and without laptop-mode-tools. It might be a placebo, I'm not sure. Sometimes it does look to drain faster but other times it doesn't (not because of workload, I just let the laptop idle with display on)
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline