I find if I set all the options to Good blindly then my USB mouse goes to sleep constantly and only wakes up if I click a button
Announcement
Collapse
No announcement yet.
Is PowerTop / TLP Still Useful To Save Power On Linux Laptops?
Collapse
X
-
My APM [version 5.6] will give better results than TLP and Powertop [settings], and this in terms of energy saving [bat] and performance [ac] - for Ubuntu and derivatives.
Comment
-
I stopped installing these some years ago when the "autosuspend device" feature put the USB and Ethernet ports on my Lenovo laptop to sleep, but they never woke up again... the hardware was damaged. From my research, this seems to be the major power saving feature of TLP and Powertop and it is not recommend in the official kernel documentation. From https://www.kernel.org/doc/Documenta...management.txt
Warnings
-------- The USB specification states that all USB devices must support power management. Nevertheless, the sad fact is that many devices do not support it very well. You can suspend them all right, but when you try to resume them they disconnect themselves from the USB bus or they stop working entirely. This seems to be especially prevalent among printers and scanners, but plenty of other types of device have the same deficiency. For this reason, by default the kernel disables autosuspend (the power/control attribute is initialized to "on") for all devices other than hubs. Hubs, at least, appear to be reasonably well-behaved in this regard. (In 2.6.21 and 2.6.22 this wasn't the case. Autosuspend was enabled by default for almost all USB devices. A number of people experienced problems as a result.) This means that non-hub devices won't be autosuspended unless the user or a program explicitly enables it. As of this writing there aren't any widespread programs which will do this; we hope that in the near future device managers such as HAL will take on this added responsibility. In the meantime you can always carry out the necessary operations by hand or add them to a udev script. You can also change the idle-delay time; 2 seconds is not the best choice for every device. If a driver knows that its device has proper suspend/resume support, it can enable autosuspend all by itself. For example, the video driver for a laptop's webcam might do this (in recent kernels they do), since these devices are rarely used and so should normally be autosuspended. Sometimes it turns out that even when a device does work okay with autosuspend there are still problems. For example, the usbhid driver, which manages keyboards and mice, has autosuspend support. Tests with a number of keyboards show that typing on a suspended keyboard, while causing the keyboard to do a remote wakeup all right, will nonetheless frequently result in lost keystrokes. Tests with mice show that some of them will issue a remote-wakeup request in response to button presses but not to motion, and some in response to neither. The kernel will not prevent you from enabling autosuspend on devices that can't handle it. It is even possible in theory to damage a device by suspending it at the wrong time. (Highly unlikely, but possible.) Take care.Last edited by teresaejunior; 11 December 2017, 08:33 PM.
Comment
-
Because I run my laptop (t540p) without drivers for the nV card, there is no automatic sleep for the discrete graphics. Using powertop to enable power management on it saves about 3 watts. Every other tuneable says good, save for a writeback timer, which I don't care about.
Comment
-
Hi,
Originally posted by kmare View Posthansdegoede thank you for your hard work! I'm already enjoying a good enough battery life on my laptop (ASUS zenbook pro UX501VW) on Fedora 27 with TLP and I certainly can't wait to see the improvements with Fedora 28.
BTW, my laptop (among many others with a similar setup) is a hybrid one, intel+nvidia. Booting Fedora on it, would result in a lock up / freeze unless I addCode:acpi_osi=! acpi_osi=Windows 2009
And yeah, I so wish my laptop didn't include an Nvidia card at all :/Code:acpi_osi=! acpi_osi=Windows 2009
Regards,
Hans
- Likes 4
Comment
-
Originally posted by arbition View PostBecause I run my laptop (t540p) without drivers for the nV card, there is no automatic sleep for the discrete graphics. Using powertop to enable power management on it saves about 3 watts. Every other tuneable says good, save for a writeback timer, which I don't care about.
Comment
-
I use powertop (or the script I generated from it) on most of my boxes. (Desktop, thin client and laptop alike.) I wish, though, it would be a default that is set by the Linux kernel. Also, there are a few cases which misbehave, e.g. my Logi G5 mouse. If you switch energy saving on it actually goes off. Totally. You need to click to revive it, but after 5 seconds without movement (or clicks) it goes to deep sleep again. So I have to exclude it.
However I measured power savings at the wall (no precision device) roughly in the range of <5 - <1 Watt (usually 1-3, as far as I can tell). Well, for a TC that only pulls in the range of 7 W from the wall ~1 W is still good. Sometimes C6 sleep mode activated in BIOS yielded much more (10 - 12 W), but I got nasty SMD capacitor or coil whining on selected boards.Stop TCPA, stupid software patents and corrupt politicians!
Comment
Comment