[FEATURE] Disable Defer-Write when on low battery
Posted: Wed Mar 22, 2023 3:09 pm
Typically a laptop would be able to automatically go to sleep, hibernate, or shutdown when the battery has reached a certain threshold, so PrimoCache could gracefully flush all the cache before the battery runs out.
HOWEVER, as the battery ages, a laptop would often die prematurely
Therefore, I think it would be great if PrimoCache could disable Defer-Write when the battery is below 10%. Even better if the percentage level is user-configurable. For example, the user could set it to 100% so Defer-Write is ALWAYS disabled when on battery, which would be useful on laptops with a severely worn battery
HOWEVER, as the battery ages, a laptop would often die prematurely
Therefore, I think it would be great if PrimoCache could disable Defer-Write when the battery is below 10%. Even better if the percentage level is user-configurable. For example, the user could set it to 100% so Defer-Write is ALWAYS disabled when on battery, which would be useful on laptops with a severely worn battery