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

"batt":0 on Samsung Galaxy A3 device #741

Closed
done7k opened this issue Sep 25, 2019 · 4 comments
Closed

"batt":0 on Samsung Galaxy A3 device #741

done7k opened this issue Sep 25, 2019 · 4 comments
Assignees
Milestone

Comments

@done7k
Copy link

done7k commented Sep 25, 2019

Struggling with the battery level on my Android. The app is set with HTTP mode at the moment. The msg I am receiving seems has the tag "batt" but it is always zero, I tried to play with the "battery optimization whitelisting" option but it does not change anything. Is it something related to Galaxy phones? Will it help if I use MQTT instead?

2019-09-25 13:29:16 DEBUG (MainThread)
[homeassistant.components.owntracks.messages]
Decrypted payload:
{
"_type":"location",
"acc":16,
"alt":202,
"batt":0,
"inregions":["mol"],
"lat":99.9999555,
"lon":88.8888777,
"t":"u",
"tid":"s3",
"tst":1569408192,
"vac":0,
"vel":0
}

  • App build number: 2.1.3 (21302)
  • Android version: V 7.0
  • Device: Sansung Galaxy A3 (216)
@ipod86
Copy link

ipod86 commented Aug 16, 2021

My wife's Galaxy s20 has the same problem. My S21 transmits the battery level.

Same configuration.

@growse
Copy link
Collaborator

growse commented Aug 17, 2021

Thanks for following up and apologies for not responding to your initial issue.

Can you check to see if you have extended data reporting enabled?

image

Enabling this populates the location messages with the battery level, status, connection type and connected WiFi details.

@ipod86
Copy link

ipod86 commented Aug 18, 2021

That was it. Many Thanks. However, the description is not well met. Possibly you can write something there.

@growse
Copy link
Collaborator

growse commented Aug 18, 2021

Point taken well - I'll keep this open until updated.

@growse growse self-assigned this Aug 18, 2021
@growse growse added this to the v2.5 milestone Aug 31, 2021
@growse growse closed this as completed in d352f8c Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants