[SOLVED] Red light flashes next to barrel-port
As already stated in this thread, the BQ24171 datasheet describes a few reasons for stopping the battery charging or starting the status LED to flash.  Below are a few relevant quotations from the datasheet.

Quote:The STAT pin can be used to drive LED or communicate with the host processor.  It indicates various charger operations: LOW when charge inprogress.  HIGH when charge is complete or in SLEEP mode.  Blinking at 0.5 Hz when fault occurs, including charge suspend, input overvoltage, timer fault and battery absent. (page 5)

Quote:Under high ambient temperature, the charge current will fold back to keep IC temperature not exceeding 120°C. (page 17)

Quote:The following conditions have to be valid before charging is enabled: (page 18)
* Thermal Shutdown (TSHUT) is not valid.

Quote:To initiate a charge cycle, the voltage on TS pin must be within the VT1 to VT5 thresholds.  If VTS is outside of this range, the controller suspends charge and waits until the battery temperature is within the VT1 to VT5 range.  During the charge cycle, the battery temperature must be within the VT1 to VT5 thresholds. If battery temperature is outside of this range, the controller suspends charge and waits until the battery temperature is within the VT1 to VT5 range.  The controller suspends charge by turning off the PWM charge FETs. (page 22)

Quote:The QFN package has low thermal impedance, which provides good thermal conduction from the silicon to the ambient, to keep junctions temperatures low.  The internal thermal regulation loop will fold back the charge current to keep the junction temperature from exceeding 120°C.  As added level of protection, the charger conver terturns off and self-protects whenever the junction temperature exceeds the TSHUT threshold of 150°C.  The charger stays off until the junction temperature falls below 130°C. (page 23)

Having all that in mind, @xyzzy , it may very well be that high battery temperature is the reason for the status LED to start flashing.  However, I am not aware of the way for getting the battery temperature reading in Linux, as the battery's NTC resistor connects directly to the BQ24171, which has no way to communicate with the SoC.  Another poor design choice for the PineBook Pro, IMHO.

However, if the battery temperature actually goes too high, it must also have something to do with the heat soak from the SoC running at full tilt.  Which is also bad.  Also, the BQ24171 has pretty much high operating temperature, but having it work in close proximity to a very hot SoC must raise its temperature significantly.
I have just observed the battery charging becoming interrupted, indicated by the blinking red LED next to the barrel connector, while all six CPU cores were loaded at 100%.  After providing some additional cooling to the underside of the laptop, the red LED stopped blinking after about 10 minutes, which indicates that the battery started charging again, all that with no changes to the 600% CPU load.

This pretty much confirms the previous conclusion that the battery stops charging under CPU load due to the BQ24171 IC overheating, which seems to be caused by the heat soak from the RK3399 SoC.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Serial port cable bsammon 17 6,918 03-04-2021, 10:00 AM
Last Post: mattpenn
  power light blinking during charge when pbpro is off Idaho 0 419 01-04-2021, 10:53 AM
Last Post: Idaho
  Boot issue (red light) pineitup 10 2,698 11-01-2020, 11:26 PM
Last Post: wdt
  Orange light no boot blues :) feoh 6 1,703 10-13-2020, 11:11 AM
Last Post: wdt
  Charging via USB-C Port tyha 15 7,925 07-22-2020, 08:15 PM
Last Post: iscmob
  Orange light won't boot>>>PineBook Pro user1gokou 4 1,980 07-10-2020, 03:04 PM
Last Post: KC9UDX
Exclamation [SOLVED] PBP will no longer power on s3rvant 10 3,652 07-04-2020, 01:57 PM
Last Post: prokofiev
  [Solved] SD Card strange boot behaviour benderni 4 2,088 06-30-2020, 04:27 PM
Last Post: benderni
  USB Dock Flashes When Connected carlosqueso 1 883 06-19-2020, 03:48 PM
Last Post: carlosqueso
  Noisy power light..... rick1959 2 1,250 06-17-2020, 09:34 AM
Last Post: rick1959

Forum Jump:

Users browsing this thread: 1 Guest(s)