PiSugar / pisugar-power-manager-rs

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

[BUG] #29

Open ArJay60 opened 3 years ago

ArJay60 commented 3 years ago

PI3B with PiSugar Pro and Pisugar powermanager.

When rebooting Pi from terminal with 'reboot'-command the power to the Pi is cut off. The Pi needs to be restarted by pressing the activate button in the Pisugar.

Expected is that with a reboot command the Pi remains under power and can restart without further manual intervention.

Do i do something wrong why it is not working?

fengyc commented 3 years ago

@wlmh110

wlmh110 commented 3 years ago

Hello, please contact us to get a replacement. pisugar.zero@gmail.com

ghost commented 3 years ago

It is possible that the unit is under powered and the battery level goes to zero (espeically with USB drives). This may cause the Pi-3B to turn off instead of reboot.

Sometimes Pi-3B's have underpower issues - especially under heavy load or USB/HDD usage.

I had an issue where the battery level was decreasing even though it was showing as 'Charging' on the PiSugar - I suspected it was due to power supply issues to the Pi 3B (connnected to HDMI showed power symbol occasionally). Indicative using the vcgencmd get_throttled command. So I changed to using a Pi-4 PSU (ie 5V 3amps) connected directly tho the PiSUgar to ensure there was enough power and seemed to fix it.

The PiSugar Pro can handle 2 types of PSU inputs - since these can also be used on Pi-4's, the Pi-4 UPS work as well.

However if the Pi-3B is shutting down all the time on a reboot command, its likely something else since mine was intermittent not all the time.

Another possible thing that can cause this issue is If the below is not done on the Pro unit:

  1. Press and hold the activation button for 2 seconds (activation is required after battery replacement/low battery shutdown)
ArJay60 commented 3 years ago

Not the issue. Dmesg gives no low voltage warnings. Batteries are loaded. Pi is running happely without issues for days. If i pull the power goed from the pisugar everything jeeps running fine. The only thing i should not do is using the reboot command on the pi to reboot the Pi. If info that everything including pisugar is powered off.

ArJay60 commented 3 years ago

Last sentence should be: If i do that everything including pisugar is powered off. Restart only possible by pressing button on pisugar.