04-23-2021, 01:25 AM
(04-18-2021, 12:30 PM)wdt Wrote: Damn few distros can manage this, requires 3 things
a specific patched kernel, bsp uboot, right systemd settings
Only 3 that I am aware of, manjaro (kern 5.8). elementary, fedora32
@wdt thanks for your reply. I have had a hard time consolidating the necessary information to get sleep running well. I have Manjaro on a SD card for testing, but it updated itself to 5.11.x and loses about 50% of battery in 11 hours (just did an overnight test), so I will see how to put back the patched 5.8 kernel to see if that makes it more reasonable like you mention (<10% per day).
Can you make any comment on what kernel elementary uses Since I am using Armbian Focal it would be the easiest for me to match elementary. I don't think they "patch their own kernel" so it would just be a matter of tracking down what they are using.
So, kernel aside, is there a clear guide on the bsp uboot and systemd settings needed? It seems this info would best be consolidated at the PBP wiki page, but no reference to it there I think. Digging through various forum entries makes it confusing to know what the "current" and "authoritative" approach is. Would you be willing to edit there so there is a central place documenting what is needed to get deep sleep to work correctly? https://wiki.pine64.org/index.php/Pinebook_Pro