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

Always getting 42% battery after replacing battery #4

Open
xkrambler opened this issue Nov 7, 2019 · 0 comments
Open

Always getting 42% battery after replacing battery #4

xkrambler opened this issue Nov 7, 2019 · 0 comments

Comments

@xkrambler
Copy link

xkrambler commented Nov 7, 2019

I'm getting 42% battery always. I've changed the battery and it shows still the same. After looking another source codes, they seems to read the first byte of data for this, now I get 98% after changing the pack that for it, battery, firmware = unpack('<xB5s', data) to battery, firmware = unpack('<Bx5s', data) - but I cannot ensure its ok. Time will show if it is. Firmware version: 3.2.1

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