Tlp is a command line utility we can use to optimize power consumption on Linux. It provides reasonable defaults, and, at the same time, an easy to understand text-based configuration file we can use to create our own setup. An external project provides a user-friendly GTK frontend to Tlp written in Python: Tlpui.
battery
How to optimize laptop battery life with TLP on Linux
When using Linux on mobile devices such as Laptops, it is very important to tune the right kernel parameters in order to optimize battery life. Tlp is a highly customizable, free and open source command line utility released under the GPLv2 license (the source code is hosted on github) created with this exact goal.