On my laptop, I’m running Fedora 22 which was shipped initially with a Linux 4.0 kernel. It was difficult to get 4h of battery life (3h30 was usually enough to deplete the battery down to 5%). Recently, the kernel was changed to 4.1 and because after 5h working on my laptop I got notified that I still had 10% power I got curious,
Therefore with a fully charged battery, I booted with Fedora 22 Linux kernel 4.0.4-301. I used powertop to measure the battery power usage in Watt in graphical (ex-init 5 level) and multi-user target (ex-init 3 level). I then rebooted using Linux kernel 4.1.3-201 and did the same measurement. I waited each time that the system settled down and that successive measurements where constant. Nothing was running, WiFi was ON and connected (Link Quality=64/70), screen brightness at 30%, Graphical target is using Gnome 3.
SystemD Target (~init level)
Linux 4.0 (in W)
Linux 4.1 (in W)
Multi-User (init 3)
Graphical (init 5)
Wow! That’s great. And the estimated battery power is now up from 4h to 6h30 with WiFi ON. But with light browsing usage and some Arduino development, I got a bit more than 5h15 without requiring a wall power connection!! That close to 50% more battery life than with earlier kernels.
Did you also witness improvement when switching to Linux kernel 4.1? Let me know using any social media means!
Note to self: telinit is now deprecated in favour of systemd targets. Runlevel 3 can be reached by invoking sudo systemctl isolate multi-user.target and the switch to the “runlevel 5” can be triggered using sudo systemctl isolate graphical.target.
Picture credits: Picture was created by me using elements from the KDE project. The original materials were licensed under GNU LGPLv3, and the picture is also provided under this license terms and conditions.
The nature is getting greener everyday, so why can’t we? I decided to invest a bit of my time solving a problem with Dell laptops running Ubuntu and the LCD brightness. The root of this problem is detailed in the Dell Latitude D600 laptop page on the Ubuntu Wiki. To shortly summarise the current release (7.04) of Ubuntu does not manage to talk with the Dell hardware properly to get the brightness state and to modify it. Therefore, Ubuntu cannot dim the LCD brightness to save energy on such laptop.
This post briefly offers some technical background before pointing to a guide in wikishelf, which will explain how to activate the control of the LCD brightness and take advantage of the Gnome Power Manager facilities to save some more battery life.
Ecology, this is a kind of marketing and political buzz word now-a-day. When someone says “I am an ecologist”, what does he really want to say? Thus, I will not use it but rather say that I love hiking and cycling, and the best place to do so is Nature, especially far from any road or city. Therefore, I love Nature (at large) and I am doing my bit and my best to protect it and today I was quite happy to read an article on future improvements on the power management of Linux.
This new facility helps you getting more information from your battery and is available via the menu of the Gnome Power Management applet when clicking on it with the left button. In the menu, the first entry should be about your battery with the charge information.
In the up coming Gnome 2.18, there have been several improvement of the Gnome Power Management applet. It still does the job of easily configuring many options that reduce power consumption. But recently it offers a power history.
This functionality is accessible upon right click on the applet icon. It displays a neat little plot of the power level of your battery and of various ACPI-related events (like session idle, suspend, etc.) I find it quite useful to see if the power management policies chosen are applied and if they could be optimised.
On your right is a screenshot of the power history (click the image to enlarge).