PiSugar / pisugar-power-manager-rs

PiSugar Power Manger in rust language
https://www.pisugar.com/
GNU General Public License v3.0
129 stars 15 forks source link

[BUG] Safe Shutdown not triggering #92

Open SHONG0504 opened 1 year ago

SHONG0504 commented 1 year ago

Environment

To Reproduce Steps to reproduce the behavior:

  1. Set the soft poweroff level to 30
  2. Soft poweroff shell: sudo shutdown -h now
  3. Power stays on when battery goes below 30%

Expected behavior Expected to shutdown when battery goes below 30%

Screenshots

Screen Shot 2023-01-18 at 9 21 32 PM Screen Shot 2023-01-18 at 7 48 03 PM