Ubuntu 22.04: hibernate laptop on critically low battery level
edit /etc/Upower/Upowerc.conf and set UsePercentageForPolicy=truePercentageLow=20PercentageCritical=8PercentageAction=5CriticalPowerAction=Hibernate Now, restart the upower systemd unit: systemctl restart upower
Ubuntu 22.04: hibernate laptop on critically low battery level Read More »