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] PiSugar3; Read soft poweroff flag error warnings #75

Open mitpre opened 1 year ago

mitpre commented 1 year ago

Environment

The PiSugar3 board is connected to my pi zero w and is constantly charging through its USB-C port. It is running more or less normally -- apart from the same RTC problems as described in issue #74. However, I am constantly getting Read soft poweroff flag error warning in PiSugar logs (accessible through journalctl -u pisugar-server). The examples of warnings are: 1) Aug 16 07:03:38 rolete pisugar-server[262]: [2022-08-16T05:03:38Z WARN pisugar_core::pisugar3] Read soft poweroff flag error: I/O error: Remote I/O error (os error 121) 2) Aug 16 08:32:51 rolete pisugar-server[262]: [2022-08-16T06:32:51Z WARN pisugar_core::pisugar3] Read soft poweroff flag error: ctr2 changed during reading

The first warning is happening multiple times per hour and the second one multiple times per day. So they have a very different frequency.

Can someone explain what is the meaning behind those warnings? What should I do to prevent them?

UPDATE: There was an additional error that only occurred once so far: 3) Aug 17 10:21:23 rolete pisugar-server[262]: [2022-08-17T08:21:23Z ERROR pisugar_server] I/O error: Remote I/O error (os error 121)

What is this one about?