Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 30,192
» Latest member: JulianReed
» Forum threads: 16,381
» Forum posts: 117,591

Full Statistics

Latest Threads
SlateOS feedback needed!
Forum: Development Discussion on PineTime
Last Post: highjumpman
Yesterday, 08:00 AM
» Replies: 0
» Views: 38
Pinephone + Keyboard for ...
Forum: PinePhone Hardware
Last Post: Nambo
08-23-2026, 12:17 AM
» Replies: 18
» Views: 13,294
Hello, I am a new member ...
Forum: General
Last Post: WhiteRabbit0
08-20-2026, 12:17 PM
» Replies: 0
» Views: 207
Need help compiling andro...
Forum: Android on Pine A64(+)
Last Post: ahegarosib97
08-20-2026, 08:45 AM
» Replies: 2
» Views: 1,957
RAM-free SBCs with SODIMM...
Forum: General
Last Post: anchor
08-20-2026, 08:21 AM
» Replies: 0
» Views: 87
Default password
Forum: PineTab Hardware
Last Post: dissimilar_goose
08-20-2026, 05:02 AM
» Replies: 0
» Views: 124
New SlateOS features
Forum: Development Discussion on PineTime
Last Post: highjumpman
08-17-2026, 07:47 PM
» Replies: 0
» Views: 190
SlateOS for PineTime
Forum: Development Discussion on PineTime
Last Post: highjumpman
08-17-2026, 07:33 PM
» Replies: 2
» Views: 436
How to install Android on...
Forum: General
Last Post: winpkr
08-14-2026, 01:36 AM
» Replies: 2
» Views: 3,708
Newbie questions
Forum: General Discussion on PineTime
Last Post: TouchuvGrey
08-13-2026, 08:09 PM
» Replies: 0
» Views: 282

 
Bug Wrong Battery Charge Level Displayed - How to Fix
Posted by: acid andy - 12-22-2022, 07:05 PM - Forum: PinePhone Software - Replies (7)

I've been playing with flashing different versions of the PinePhone OSes and noticed that when I use versions updated in the last few months, the charge level displayed on the battery icon is now incorrect. I've seen this on both Mobian and PostmarketOS with Plasma mobile and Phosh.

More specifically, on my PinePhone it displays a quarter of the battery percentage it used to show.

I haven't found much discussion of this (though there was this: https://forum.pine64.org/showthread.php?tid=17056). Who else is seeing this?

In frustration, I took a look at the code and Phosh just pulls the charge level from upowerd for the "display" device which seems to be the right way to do it.

So, I went looking at the documentation and then the source code for the UPower daemon. Sure enough, the way the battery percentage is calculated was changed in July this year:

https://gitlab.freedesktop.org/upower/up...4d_236_242

Code:
    /* use percentage weighted for each battery capacity
     * fall back to averaging the batteries.
     * ASSUMPTION: If one battery has energy data, then all batteries do
     */
    if (energy_full_total > 0.0)
        percentage_total = 100.0 * energy_total / energy_full_total;
    else
        percentage_total = percentage_total / num_batteries;

That code after the "else" didn't used to be there, so it's probably what's dividing up the charge level to a fraction of what it should be on the PinePhone. The PinePhone seems to report multiple battery devices that have no charge, in addition to one that corresponds to what I would expect.

I'm not too sure what or who are at fault here - whether the PinePhone is reporting battery data in a non-standard or incomplete way, or if there's a bug in UPower, so not sure where to raise the issue.

I think I'm going to see how easy it is to compile a patched version of the UPower daemon, with that line after the "else" removed, to solve the issue on my PinePhone.


  Article: NuttX RTOS for PinePhone: Display Engine
Posted by: lupyuen - 12-22-2022, 06:01 PM - Forum: PinePhone Software - No Replies

Apache NuttX RTOS for PinePhone now supports Allwinner A64 Display Engine!

We’re one step closer to completing our NuttX Display Driver for PinePhone.

Let’s find out how our NuttX Display Driver will call A64 Display Engine to render graphics on PinePhone’s LCD Display…

NuttX RTOS for PinePhone: Display Engine


  SFOS 4.4.0.72, with calls
Posted by: defactofactotum - 12-22-2022, 03:16 AM - Forum: SailfishOS on PinePhone - Replies (5)

The sailfishos port for pinephone, pinetab and pinephonepro is now updated to the latest sfos release 4.4.0.72. Current state: calls now work and wake device from deep sleep, but call audio is poor at the moment....everything else works except the following:
Not working - camera (waiting for development of libcamera);
Wifi disconnects after sleep, it needs to be toggled off and back on. The indicator shows it as still connected but if you check under Settings>Developer Tools you can see the WLAN IP address field is empty.

There is a new wiki for documentation: https://github.com/sailfish-on-dontbeevi...ation/wiki

The flash-it script works for emmc and sdcards. The option "raw" to write an image on your pc is still broken.

Waydroid works but is very sluggish and a battery guzzler. In theory it needs 6GB ram so especially on original PP it's always going to be slow.
Update edit: after a period of about 3hrs the screen now longer wakes and the only option is to force shutdown (power button for 5 seconds) and reboot.


  Which OS works as of December 2022
Posted by: jojuma - 12-21-2022, 04:20 PM - Forum: PineTab Software - Replies (7)

Hello,

got my hands on a Pinetab lately. Since UT is hardly usable I want to flash another OS.

I read through the threads here and since most of the relvant posts are quite old I like to ask what OS works as of the end of 2022?

Any news about tow boot?

Thanks in advance!


  Original 14" Pinebook an Orphan?
Posted by: vdicarlo - 12-21-2022, 02:07 PM - Forum: General Discussion on Pinebook - Replies (2)

I recently was unable to update Manjaro with xfce on my Pinebook.  The Wiki says Manjaro is no longer supporting the Pinebook.  The Wiki says that Ambian is still supporting it, but I can't find that at Ambian's website, though the site does list the Pinebook Pro.  Is my Pinebook now useless with no suitable OS?  

-v


  Boot Process
Posted by: _radv_ - 12-20-2022, 11:43 AM - Forum: Maemo Leste on PinePhone - Replies (3)

I bought a Pine Phone recently.  I flashed maemo-leste-1.0-arm64-pinephone-20221113 to a microSD card using BalenaEtcher on a cpu running Windows 11.  I put the microSD card into the PinePhone and turned it on.  Maemo-Leste booted okay.  I turned it off.  I turned it on again and Maemo-Leste did not boot completely.  The MicroSD card became unusable on the Pine Phone, but still seemed usable on a windows cpu.  Any thoughts?
There's a little more to it then this (i.e. keyboard, microSD card, trouble I had with Manjaro, many times I reformatted the microSD card, and other images I flashed to it, it's the discontinued$149 2GB/16GB PinePhone ), but there didn't seem to be an initial problem with the boot, only a problem the second time I'd boot and not only with Maemo-Leste, though that was the first one I tried.


  'standard' Debian on Pinephone?
Posted by: 4920441 - 12-20-2022, 09:44 AM - Forum: PinePhone Software - Replies (3)

Hi,

I would like to install a  standard debian bullseye on my pinephone - no phone like options needed...

I have the Keyboard wich assembles together with the pinephone to a "small sized" laptop, or better palmtop computer so I'd like to use it that way :-)

Taking Mobian and strip everything down is not the route I would prefer to take.


Any hints if someone already did that?

Thanks a lot!

Cheers


4920441


  Making and selling custom Pinebooks
Posted by: KidTechnical - 12-20-2022, 09:31 AM - Forum: General Discussion on Pinebook Pro - Replies (1)

Would pine64 be able to provide custom pinebook pros (remove pinebook logo from super button and with my custom linux os preinstalled) to some of my customers?
(note: this is just a general IDEA and not a real business inquiry in any means, just seeing if it might be possible in 6m-1y)
P.S. The custom linux distro is still in development please don't ask for an iso
P.P.S. If I posted this in the wrong channel I'm sorry, I really didn't know which channel this would fit in


  1000th thread
Posted by: KidTechnical - 12-20-2022, 09:26 AM - Forum: General Discussion on Pinebook Pro - No Replies

This is the 1000th thread in this channel and my first thread, nothing much else to say!


  Endeavour OS on Pbpro
Posted by: rfm83 - 12-20-2022, 09:14 AM - Forum: General Discussion on Pinebook Pro - Replies (11)

Does anyone have instructions on how to install the latest Endeavour OS Cassini on the Pbpro. It looks like it's officially supported now.