Tag Info

Hot answers tagged

1

On my laptop I can check the contents of the file /sys/class/power_supply/C1BC/online: if the laptop is plugged in this file contains 1, otherwise it contains 0. For example, if [ "1" = "`cat /sys/class/power_supply/C1BC/online`" ]; then echo "Laptop is charging/plugged" else echo "Laptop is discharging/unplugged" fi Note. As confirmed by the OP, the ...


1

Found a way to disable the crapware called "intel_powerclamp": sudo su cd /etc/modprobe.d cat >intel_powerclamp.conf # avoid shitty powerclamp install intel_powerclamp /bin/true ^D and then, after a reboot, no kidle_inject processes force you to save power.



Only top voted, non community-wiki answers of a minimum length are eligible