Slimbook battery is a battery optimization tool for notebook computers that integrates with Gnome, KDE, Unity, Cinnamon and MATE. It may work without problems on other environments, but the developer does not mention them.
After installing Slimbook in the system tray appears indicator with three modes of power consumption: power saving, balance and maximum performance. The "Off" option is also available to disable optimization.
Each power mode has its own default values. The user can change the most important values using the settings (advanced mode).
sudo add-apt-repository ppa:slimbook/slimbook sudo apt-get update sudo apt-get install slimbookbattery -y