Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WakeUpOnCharge disabled? #1102

Open
fernedo opened this issue Nov 12, 2024 · 0 comments
Open

WakeUpOnCharge disabled? #1102

fernedo opened this issue Nov 12, 2024 · 0 comments

Comments

@fernedo
Copy link

fernedo commented Nov 12, 2024

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.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant