Is there any way to do that?
Something like xbacklight and Cuttlefish
yes you can, using tlp:
sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw
ThinkPads require an additional:
sudo apt-get install tp-smapi-dkms acpi-call-dkms
what you can do with tlp ?
and many other power management settings. tlp changes settings automatically according to power supply is plugged or not.
its better to read tlp documentation before you use tlp, its written in simple language and step-by-step guide manner
vahidthen should I addvahid ALL = NOPASSWD: /usr/sbin/tlpwithsudo vim /etc/sudoers?? – Daniyal Javani Dec 05 '14 at 14:10gksu gedit /etc/default/tlp) by being root. tlp starts with system as a daemon with root privileges. you dont need to do anything related to password. if I am not clear please comment by being more specific – Alex Jones Dec 05 '14 at 14:44/etc/default/tlp) are also loaded. read my above comment also – Alex Jones Dec 05 '14 at 14:46vahid ALL=NOPASSWD: /usr/sbin/tlp bat(without space) – Daniyal Javani Dec 05 '14 at 15:11