I'm currently running my pinebook on the default Ubuntu Mate installation with updated kernel/bootloaders.
I did replace the Mate window manager with something more light weight.
And I noticed the other day that my battery had discharged beyond my expectations. Some testing later I noticed that whenever I plug in or remove the power supply it leaves "suspend" mode. And thus causes a lot more battery drain. Anyone know why this happens and if we can prevent it?
Just had a quick chat with Olliver Schinagl, who is assisting in part of the Mainline linux kernel work for the Allwinner A20, and the Olimex Lime2 board. Very closely related to the A64. As they are both using the same power management IC.
Long story short, this behaviour is part of the AXP power management IC, and is configurable. The power management IC can give an interrupt depending on various conditions. The mainline kernel most likely configures this correct while our Pine64 kernel doesn't setup this properly. Didn't investigate beyond this yet.
It's typical behavior for Android devices to wake up when the charger is plugged in. It seems like the Ubuntu Pinebook kernel is still using the same configuration as Android.
BTW, are you the Daid from Ultimaker?
Noticed today that the screen turns on a short while with a "charging" image and then turns off again when the laptop is off and you plugin in a charger. (Maybe the bootloader responding differently to this startup "event"?)
Yes, that's me. Pinebook sparked my interest due to the similar CPU as in the Ultimaker 3. (Allwinner A20 -> A64)
Perhaps because its essentially a tablet SOC - and the tablets I have used in the past behave in a similar fashion when plugged into mains.
Yah, you can actually find the battery charging graphics on the /boot partition (/boot/bat/battery_charge.bmp). All Android devices seem to have a charging mode they boot into when plugged in. In our case it's part of the bootloader, but I've seen others where they actually boot the kernel and the init.rc script decides what to do.
Another weird thing is that the charging light does not come on when the laptop is off and you plug it in.
Daid, I'm from MatterHackers. We're big Ultimaker fans.