5 ms·
Watching this, as I've been daily-driving GNU/Linux phones for two years now (first PP then PPP). One change I've noticed: when waiting for things in public, I
by minimalist 3y ago
Watching this, as I've been daily-driving GNU/Linux phones for two years now (first PP then PPP).
One change I've noticed: when waiting for things in public, I don't reach for the phone, as I need to preserve battery for the essential functions--as a means of contact :)
Edit: The video is an /okay/ overview of the current state of some things for a Linux-familiar audience. A more compelling thing would be to step through the distros on this multiboot image [0] and show what works and what doesn't work. I think it's really understated how much choice one gets when using a Linux phone. That said, Gnome and KDE are pretty darn functional for the basic stuff these days. Definitely more than a modern feature phone [1], which is plenty for many people.
[0]: https://xnux.eu/p-boot-demo/ https://xnux.eu/p-boot-demo/
[1]: https://www.kaiostech.com/ https://www.kaiostech.com/
- XorNot 3y agoI am curious what fundamentally makes power management so difficult these days. I know some of the effort is just inadequate driver support - the various modes can't be turned on properly because they're locked behind proprietary blobs which need to be reverse engineered. But is their something else? What's the pathology that leads to issues in software?
- izacus 3y agoThere's no pathology, it's just really really hard. Any single component not sleeping properly and keeping the CPU, buses or radios active immediately ruins the battery life for everyone. Power saving is all about racing towards that sweet idle state where every chip is clocked down and nothing radiates. Which means that good power saving requires full vetting of every process on the system and making sure they all cooperate or, at least, are forced to sleep. Android needed years to get into that state and developers/hackers are still sour about the restrictions it puts on them to keep battery life in check.
- minimalist 3y ago> Android needed years to get into that state and developers/hackers are still sour about the restrictions it puts on them to keep battery life in check. True. In my experience, many desktop applications do not care about minimizing idle cycles or network activity. So you end up with your radios always active, or some persistent CPU activity. For example, if one were to use Element Desktop, Signal Desktop and Discord simultaneously on PPP (all electron apps), we're looking at ~20% CPU utilization, idle! Mobile Linux will get there eventually!
- jwells89 3y agoI always wondered what exactly it is that Electron apps are doing to use that much CPU when they're sitting in the background doing nothing, often not even being on screen. For something like chat I guess it could be polling (surely sockets are more popular now?), but it's not uncommon to see this behavior even in completely offline Electron apps. It seems like they're never truly idle.
- seltzered_ 3y agoI don't know, but I hope the efforts to drive application-level power management somehow lead to power management improvements when using gnome on a laptop as well. For reference, macOS introduced some APIs intended to improve power management around 2016 when the fanless usb-c MacBook Air came out.
- jwells89 3y agoOn the software side of things, for something like decade now macOS has also surfaced which programs are egregiously power hungry to the user. The most visible way is in the battery menubar item, and in the most extreme cases it'll even show a notification. Similarly Safari tells users when sites are being too voracious. I think this sort of thing is probably more effective than many believe at helping curb lackadaisical attitudes towards resource consumption among devs, with how it turns users into squeaky wheels.
- seltzered_ 3y agoYeah, that's been helpful too. I think Gnome has been taking starting steps - around Gnome 43/44 IIRC it started listing 'background apps' in the upper right pop menu.
- MartijnBraam 3y agoThe power management model in phones is just radically different than desktops. Android can get a lot of battery life by suspending applications and tightly controlling application resource usage.
- linmob 3y agoThere should be videos demoing the p-boot-demo image on YouTube, I included some in my Weekly Updates [0] on the topic. At this point, it makes no sense to try the image - it's simply to old, and projects have progressed too much. Regarding the battery life: This is a thing on the PinePhone, even more on the PinePhone Pro and (to a lesser degree) the Librem 5. These days I carry a Librem 5 (PureOS) and a OnePlus 6 (postmarketOS), the battery angst does not really apply to the One Plus 6, it easily lasts a day unless something goes terribly wrong. The main reason to do so is that I like to listen to way more podcasts than current (and likely also future) Librem 5 battery life allows. [0]: https://linmob.net/categories/weekly-update/ https://linmob.net/categories/weekly-update/,