5 Ways to Extend Battery Life on Ubuntu

| Tutorials

5-Ways-to-Extend-Battery-Life-on-Ubuntu

I am one of those developers who have come all the way from their home for studies and have to rely on a single laptop for work. Linux, obviously, is a natural choice for me on a pretty decent notebook. But, those living in the metro cities in India would know about the massive power-cuts throughout the day. Here are my 5 ways that helped me to extend battery life on my Ubuntu laptop and I believe it ought to work for other Linux distribution as well.

 

1. Dim your screen

The most obvious one, dim your screen. It saves a lot of power. You need not enjoy all the coding work in full aspect ratio while battery backup is your primary concern.

2. Stop unnecessary service

You should know which service packages you’d be needing when your working at a critical battery state. Turn off the ones you are not using.

First, list down all the services. Open the terminal by pressing Ctrl+Alt+T execute the following command.

service --status-all

You might need to get admin privilege for this. You can get it so by

sudo su -

Then, stop the service that you don’t want to be running. Make sure you do not turn off any important service as it could crash your machine.

But then again, it is nothing you can’t fix.

*replace “service-name” with the name of the service you want to stop.

 

3. Update GRUB

If you are on Ubuntu 12.04 LTS or newer, this is expected to be enabled by default. If you find yours is not, you could reduce the heating and ridiculous battery drain simply by updating a single line on your GRUB bootloader.

Edit the file /etc/default/grub with admin privilege.

sudo gedit /etc/default/grub

 

Locate the following line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

 

Change it to:

GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash i915.i915_enable_rc6=0″

Update GRUB:

sudo update-grub

4. Use Jupiter Applet

The development of the Jupiter Applet project has been discontinued. So, it might not work on Ubuntu 13.04+. You would want to use TLC instead.

 

5. Install a Lighter Desktop Environment

Ubuntu by default comes with Unity DE but if you are too concerned of your battery backup, I would recommend you to install a lighter DE such as LXDE or XFCE.

However, I have found LXDE to be more power efficient than XFCE.

Install Lubuntu Core Desktop

LXDE

In both the cases you would see the option to switch your DE at the time of Logging in.

 

Conclusion

Well, this is what I believe can improve your battery and allow you to stay out of the AC points longer than before. If you have more tricks to extend battery life, please feel share to at the comment section.

Tags: , ,