Skip to content

Conversation

@TT-Hans-Stols
Copy link
Contributor

Battery info is usually received quite a bit later after connecting.
This would lead to reading old battery info.

Added receivedBatteryAt, to be able to check if battery info was received.
Reset receivedBatteryAt and receivedNotificationAt variables when not connected, so they are not falsely read for a new connection.

@asukiaaa asukiaaa merged commit f015cdb into asukiaaa:main May 10, 2025
@asukiaaa
Copy link
Owner

Thank you for the pull request.
It seems no problem.

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

Successfully merging this pull request may close these issues.

2 participants