Controlling the battery charging threshold on Asus laptop with Ubuntu 20.04
From kernel 5.4+ there is an ability to control charging of the laptop battery. In the /sys/class/power_supply/BAT0/ are some variables useful for battery monitoring and controlling. ls /sys/class/power_supply/BAT0/alarm device@ manufacturer serial_number uevent capacity energy_full model_name status voltage_min_designcapacity_level energy_full_design power/ subsystem@ voltage_now charge_control_end_threshold energy_now power_now technology cycle_count hwmon2/ present type One of those variables is charge_control_end_threshold, it is just an integer […]
Recent Comments