firmware icon indicating copy to clipboard operation
firmware copied to clipboard

[Bug]: Battery info shows 0%

Open jranma opened this issue 1 year ago • 4 comments

Category

Hardware Compatibility

Hardware

T-Beam S3

Firmware Version

2.3.12

Description

Using t-beam S3 supreme, using using USB power supply. In the list of nodes, 0% 0.00V is shown. instead of showing the logo that it is connected to the power socket.

Relevant log output

No response

jranma avatar Jun 22 '24 06:06 jranma

Can you try the ADC Multiplier Override calibration process? https://meshtastic.org/docs/configuration/radio/power/#calibration-process-attribution

fifieldt avatar Jul 03 '24 00:07 fifieldt

Can you try the ADC Multiplier Override calibration process? https://meshtastic.org/docs/configuration/radio/power/#calibration-process-attribution

unfortunately, didnt help. playing with power settings doesnt help.

does anyone have a clue about this? Just made a clean reflash, using 2.3.13. USB power not detected using factory settings.
display:

  • UNK%
  • UNK volts

jranma avatar Jul 08 '24 21:07 jranma

@thebentern could be related to incorrect INA219 Address ?

jranma avatar Jul 08 '24 21:07 jranma

Same issue here with 19003/v2.3.15.deb7c27

ayysasha avatar Jul 24 '24 07:07 ayysasha

My t-beam S3 supreme runs 2.4.1 and showing the plug icon (4.18V) on both the display and IOS app. Do you have a 18650 cell in the back too? Am using an Samsung unprotected 18650.

gitbisector avatar Sep 05 '24 01:09 gitbisector

Seems to be an IOS app thing. It shows battery 0% when on USB without battery plugged in. When the battery is present it shows 'PWD' on the app. Debug output from the T-Beam S3 supreme follows.

With the battery removed: DEBUG | 20:10:56 89 [Power] Battery: usbPower=1, isCharging=0, batMv=0, batPct=0 With the battery present: DEBUG | 20:12:36 189 [Power] Battery: usbPower=1, isCharging=1, batMv=4184, batPct=14%

gitbisector avatar Sep 06 '24 03:09 gitbisector

The device metrics packet is a percentage from 0-101 with 101 meaning powered.

garthvh avatar Sep 06 '24 05:09 garthvh

While on USB power, without a battery present, the wrong status is getting reported. Should probably fix it then to send '101' in this state as the device is able to recognize the difference.

gitbisector avatar Sep 06 '24 14:09 gitbisector

Indeed issue happens only when no battery is attached.

jranma avatar Sep 06 '24 15:09 jranma