Edge-V: Domain: Power management - LiPo battery does not charge

Describe the bug
A clear and concise description of what the bug is.

After attaching a LiPo battery the first time, it was working. But after a few days of rebooting the system and removing and reattaching the battery several times. The battery had no power to operate the board. If I remove the power plugs, the board poweroff immediately

To Reproduce
Steps to reproduce the behavior:

  • Attached a LiPo battery to the Juice board
  • Use power plugs for hours to recharge the LiPo battery
  • After 12 hours remove the power plug
  • Board powered off immediately

Expected behavior
A clear and concise description of what you expected to happen.

After removing the power plug the board continue to be powered from the battery

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Here my question:

  • How can I monitor battery drain, recharge and discharge?

@giminni The connection between the battery and the board is fragile because if you plug in the battery, it’s possible that the metal sheet in the connection part of the battery will fall off.So can we take two pictures of the connection between the battery and the board? Let’s make sure that the connection between the battery and the board is off.

@Frank

BTW I tried my second battery and it works out of the box. I guess the battery is not charging or completely discharged.

How can I get the actual voltage and can I monitor battery charge/discharge.

@giminni This question needs the help of another colleague @kenny who will answer your question.

Thanks @Frank

@kenny

Is there a way to re/discharge the battery without Juice board. I am afraid and don’t want to get the battery completely discharged to avoid damage.

Hi giminni, may i know what’s the situation of the Edge-V, when you attached a LiPo battery to the Juice board. Is startup or not?
Do you mean: it works the first time(just only battery, no other power supply ), and plugs power to recharge it, after 12 hours remove the power plug, it powered off immediately?

Actually, there is a interface to get the voltage, through I2C8 to read CW2015CSAD.

1 Like
  • could you help me to check the connector is connected properly or not?
  • which firmware installed. could you try the official firmware? case if the charge ic(bq25703) not set properly, it may be not recharge.

have a good day!

@kenny yes indeed.

What I cannot understand is if I insert my 2nd battery it works with no other power supply eather.

I’ll check later the connector, stay tuned.

1 Like

Confirm that the connector is tied into the board and if I use a 2nd battery the board is powered from the battery. I guess the battery is not charged.

Not sure how go about doing voltage check through the device. Have you checked the individual cells with a multimeter to see what their state of charge is?
An individual cell should not show less than 3 volts. 3 volts is typically the low volt limit for LiPos, damage to the cell can occur under that.

sorry for late reply, this weekend i put 3 pcs Edge-V to test the same operation:

  • when battery power low(0%, about 6.8V), Android will power off system to save power.
  • After shutdown, the system will continue to discharge until the battery is protected(under 5.6V).
    • MCU normal status: about 8mA
    • open WOL: about 76 mA
  • After battery protected, the battery no power output(0V), when other power supply plug in, battery will be reactivated again.
  • could you help me to check:
    • Edge–V communicate with Juice board?
      • check CW2015CSAD i2c connect, if connect failed that will report error.
        i2cdump -f -y 8 0x62
        image
      • check bq25703 i2c connect, if connect failed that will report error.
        i2cdump -f -y 8 0x6b
        image
    • what is the battery voltage?(which battery can not power on)
    • no battery insert, what is the BAT_JACK voltage?(generally 8.51V)
    • no battery insert, what is the R20 voltage?
    • no battery insert, what is the R1 voltage?(depend on power supply, for mine is 12V)
    • with battery(which battery can power on) insert, no other power supply, what is the R1 voltage?

thank’s for your help

Same problem! Linux on Khadas Edge-V looks like battery is not charging

Any help?

  • battery voltage is 0V

i2cdump -f -y 8 0x6b
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 0e e2 80 00 d0 20 00 00 00 00 c0 01 00 18 00 41 ???.? …??.?.A
10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …
20: 00 a0 00 00 00 41 00 1b 00 00 00 00 00 00 40 78 .?..A.?..@x
30: 11 02 b7 02 00 00 54 4a 20 81 00 20 ff 02 ff ff ???..TJ ?. .?..
40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …
50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …
60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …
70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …
80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …
a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff …
f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ……

i2cdump -f -y 8 0x62
No size specified (using byte-data access)
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 00 00 00 00 00 00 18 00 c0 00 00 00 00 00 …?.?..
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 …
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ……

no battery insert, what is the BAT_JACK voltage — 6,16V
no battery insert, what is the R20 voltage — 2,79V
no battery insert, what is the R1 voltage - 0V
with battery(which battery can power on) insert, no other power supply, what is the R1 voltage - dont have charged battery