Tag Info

New answers tagged


So to answer my question Here is what i did , Dual booted windows then installed Lenovo energy management change battery setting to 'maximum battery life'. In 'optimized battery health' the charging is locked to 60%,after 60% in will show plugged in,not charging and for those who do not want to dual boot to windows The charging thresholds are, very ...


I have written a small script that will do that: Script: #!/usr/bin/env bash while true do export DISPLAY=:0.0 battery_percent=$(acpi -b | grep -P -o '[0-9]+(?=%)') if on_ac_power; then if [ "$battery_percent" -gt 95 ]; then notify-send -i "$PWD/batteryfull.png" "Battery full." "Level: ${battery_percent}% " fi ...

Top 50 recent answers are included