WakeUpOnCharge disabled?
Opened this issue · 0 comments
Hello everyone, I’m trying to set up the WakeUpOnCharge feature on my PiJuice to power on the Raspberry Pi when the battery reaches 80% charge. However, it doesn’t seem to be working as expected, and I’m not sure if I’m missing a step or if there’s an issue with the configuration.
My current setup and attempted commands:
Using the pijuicetest.py script, I got the following relevant output:
WakeUpOnCharge = 80 (127 = disabled)
Then, I tried running these commands in Python to set WakeUpOnCharge:
`>>> pijuice.power.SetWakeUpOnCharge(80)
{'error': 'NO_ERROR'}
pijuice.power.GetWakeUpOnCharge()
{'data': 80, 'non_volatile': False, 'error': 'NO_ERROR'}
`
The setting seems to apply without errors, but my PiJuice doesn’t automatically power on the Raspberry Pi when it reaches 80% charge.