Battery stops charging and NVMe and other media disconnect randomly
#1
Question 
Some time ago, I set up an NVMe into my Pinebook Pro and installed Debian there.  Later, a couple months ago, I kept finding that my battery would stop getting charged at random times and the power LED would start blinking.  Sometimes this was temporary and the battery would start charging again after some time, but other times it reached 0%.

When the CPU load is high (say, compiling something non-trivial or playing a video, on disk or streamed), sometimes the part of the computer chassis next to the motherboard gets really hot, the battery stops charging for a longer time and this is usually followed by I/O errors trying to access the NVMe.  When booting from MicroSD, these errors happen trying to access the MicroSD instead.  For reference, cooling the computer by applying an ice bag to the bottom cover didn't help, even though both the bottom cover and the keyboard were cold, and changing the DTB so that it used NVMe at Gen1 speeds, as suggested in other threads, didn't help either.

When I reboot after an I/O failure, the computer succeds at booting from the same media but gets I/O errors soon afterwards, so I have to wait until it gets cold again (or as cold as it can get in this part of the world in summer).  When I disconnect the battery and connect the short-circuit cables (the ones used to power the computer directly from the plug), all of these problems disappear, but I want my laptop to be a laptop.

I honestly can't figure out where these errors come from or how to fix them, so any kind of help will be greatly appreciated.
  Reply
#2
(07-08-2021, 05:04 PM)Eey0zu6O Wrote: Some time ago, I set up an NVMe into my Pinebook Pro and installed Debian there.  Later, a couple months ago, I kept finding that my battery would stop getting charged at random times and the power LED would start blinking.  Sometimes this was temporary and the battery would start charging again after some time, but other times it reached 0%.

When the CPU load is high (say, compiling something non-trivial or playing a video, on disk or streamed), sometimes the part of the computer chassis next to the motherboard gets really hot, the battery stops charging for a longer time and this is usually followed by I/O errors trying to access the NVMe.  When booting from MicroSD, these errors happen trying to access the MicroSD instead.  For reference, cooling the computer by applying an ice bag to the bottom cover didn't help, even though both the bottom cover and the keyboard were cold, and changing the DTB so that it used NVMe at Gen1 speeds, as suggested in other threads, didn't help either.

When I reboot after an I/O failure, the computer succeds at booting from the same media but gets I/O errors soon afterwards, so I have to wait until it gets cold again (or as cold as it can get in this part of the world in summer).  When I disconnect the battery and connect the short-circuit cables (the ones used to power the computer directly from the plug), all of these problems disappear, but I want my laptop to be a laptop.

I honestly can't figure out where these errors come from or how to fix them, so any kind of help will be greatly appreciated.

TL;DR version - there are several problems with PBP's power system:
  • the controller is prone to overheating. When it does, it stops charging the a battery.
  • the way power is designed in PBP it is always powered from the battery, even when PSU is connected. If battery is drained and not charging - PBP will not even turn on. This means that to avoid discharging battery power consumption cannot exceed battery charge power.
  • the power PBP can take from PSU for battery charging is limited to ~15W, yet it seems under full load (especially with NVMe and/or external USB devices) PBP might be capable of consuming more power than that.
In other words, while PBP is a great little machine and a massive improvement over the original PB, it really doesn't like certain heavy-load applications. Keep the heavier tasks for some other machine (e.g. a ROCKPro64 based on the same SoC) and ye shall find happiness like I did. Oh, and I decided after all that due to the power constraints, its really not worth it using PBP with NVMe drive, so I only have 128GB eMMC now in it.
This message was created with 100% recycled electrons
  Reply
#3
(07-09-2021, 08:40 AM)moonwalkers Wrote: TL;DR version - there are several problems with PBP's power system:
  • the controller is prone to overheating. When it does, it stops charging the a battery.
  • the way power is designed in PBP it is always powered from the battery, even when PSU is connected. If battery is drained and not charging - PBP will not even turn on. This means that to avoid discharging battery power consumption cannot exceed battery charge power.
  • the power PBP can take from PSU for battery charging is limited to ~15W, yet it seems under full load (especially with NVMe and/or external USB devices) PBP might be capable of consuming more power than that.
In other words, while PBP is a great little machine and a massive improvement over the original PB, it really doesn't like certain heavy-load applications. Keep the heavier tasks for some other machine (e.g. a ROCKPro64 based on the same SoC) and ye shall find happiness like I did. Oh, and I decided after all that due to the power constraints, its really not worth it using PBP with NVMe drive, so I only have 128GB eMMC now in it.

Thanks for your response! It's very informative. I guess I'll just remove the NVMe and use an eMMC like you did.
  Reply
#4
(07-09-2021, 08:40 AM)moonwalkers Wrote: The power PBP can take from PSU for battery charging is limited to ~15W, yet it seems under full load (especially with NVMe and/or external USB devices) PBP might be capable of consuming more power than that.

Just a small correction: the actual limit is lower, around 11.4 W, because that's how the battery charging IC (BQ24171) inside the PineBook Pro is configured; see my earlier post in which I've explained it in detail.  It should be possible to reconfigure the BQ24171 and increase that limit to around 15 W, which would fully use what the chargers can provide; that's one of my future projects. Cool
  Reply
#5
(07-09-2021, 01:37 PM)dsimic Wrote:
(07-09-2021, 08:40 AM)moonwalkers Wrote: The power PBP can take from PSU for battery charging is limited to ~15W, yet it seems under full load (especially with NVMe and/or external USB devices) PBP might be capable of consuming more power than that.

Just a small correction: the actual limit is lower, around 11.4 W, because that's how the battery charging IC (BQ24171) inside the PineBook Pro is configured; see my earlier post in which I've explained it in detail.  It should be possible to reconfigure the BQ24171 and increase that limit to around 15 W, which would fully use what the chargers can provide; that's one of my future projects. Cool

Thanks!

BTW, would love to hear how that project works out. Keep us posted!
This message was created with 100% recycled electrons
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  NVMe reukiodo 0 92 11-18-2024, 09:00 AM
Last Post: reukiodo
  NVMe drives not detected mattpenn 13 12,929 11-17-2024, 04:38 AM
Last Post: reukiodo
  New Working nVME gilwood 1 665 11-17-2024, 04:24 AM
Last Post: reukiodo
  "PowerButton pressed" randomly CosmicRay 3 571 11-15-2024, 09:49 AM
Last Post: CosmicRay
  Bad replacement battery? chris88233 4 1,335 11-14-2024, 06:05 PM
Last Post: reukiodo
  Lithium Battery Connector Franestra 0 458 04-02-2024, 01:52 AM
Last Post: Franestra
  Bypassing the Battery gilwood 0 543 02-01-2024, 10:45 AM
Last Post: gilwood
  Pinebook Pro charging issues tomekdev 1 1,168 01-05-2024, 08:40 PM
Last Post: tomekdev
  PBPro Battery specification Perl6_user 3 1,385 12-26-2023, 04:28 PM
Last Post: DrYak
  Replacement battery for PineBook Pro DrYak 3 2,131 11-07-2023, 10:09 AM
Last Post: DrYak

Forum Jump:


Users browsing this thread: 1 Guest(s)