pop-os / cosmic-settings-daemon

GNU General Public License v3.0
20 stars 16 forks source link

[missing laptop protection] low battery life auto shutoff #18

Open pheonixfirewingz opened 5 months ago

pheonixfirewingz commented 5 months ago

I used it on a spare laptop while using it I didn’t have any actions to save the battery before hitting 0% 🥲.

it caused a CMOS reset in the UEFI and corrupted the boot sections of the hard drive needing a USB to reinstall as refresh didn’t fix it.

I think auto shutdown at 5% is needed to protect users from messing up their devices before the alpha release of Cosmic De as well as a low battery warning, as I had no clue it was on low battery.

Sorry if this sounds rude but felt it was prudent to flag the issue due to destroying the installation and didn't want it to happen at the release.

mmstick commented 5 months ago

A CMOS reset would indicate that your CMOS battery is drained. CR2032 batteries are very cheap, easy to find, and simple to swap out.

pheonixfirewingz commented 5 months ago

My laptop uses the main battery as the CMOs battery it’s a weird quirk of my laptop model I checked the hardware(opened the chassis and scanned the circuitboards) for a Normal CMOS battery socket. And it did not have one this happened when I replaced the battery once before this 1 year earlier

mmstick commented 5 months ago

There are now sound alert indicators whenever the AC power adapter is plugged and unplugged; as well as when the battery is low and critical. The only thing that remains is handling an early shutdown.