Increase battery life

Software development is expensive:

If your battery life has significantly degraded, you can get a new replacement.

I do not know.

It works, but not against your expectations/experiences from the duopoly’s exploitative practices and resources.

1 Like

When I configure the light brightness to 10 percent, i get 20 hours. Thats okay, its better than Iphone SE. So it is not so bad.

1 Like

How long do your other computers last on suspend? :slight_smile:

1 Like

Dont know, but my Samssung phone can last about 3-5 days wirh Android and suspend.

So why not Librem 5?

1 Like

Among other reasons (e.g. isolated internal components instead of a system-on-one-blackbox-chip), your Samsung phone is not running what is essentially a desktop computer with associated desktop applications.

Personally, I have my doubts that the Librem 5 will ever be able to achieve the same kind of power optimization as a simple smartphone. I hope it can be improved on a lot more, though.

2 Likes

Wouldn’t be an option to halt all processes, which have to do with the desktop applications (except the PIN screen) and only run processes, which have to do with incoming calls and sms? Or is it already implemented in this way?

For listening music there could be an exception that it is a desktop application and then the desktop applications would run, too.

1 Like

Yes it is. I’m not sure why you don’t think an Android phone is every bit a “desktop computer” as the Librem 5. Haven’t my discussions about Termux as well as installing a full Linux distribution (under proot [a fake privilege mode]) dispelled this notion?

1 Like

I think the meaning is … out-of-the-box. In other words, you may be able to make it like that but it’s not like that out-of-the-box - which is the experience that is relevant for most actual Android users.

Regardless, this is a relatively useless comparison. I don’t care if Android can run for 1 year on a single charge, I’m not using Android. :wink:

2 Likes

A desktop computer can more than just run software on a second monitor with mouse and keyboard attached. It can change hardware, can disable sensors on hardware level (usually via unplugging USB, but killswitch is an alternative way), can install any OS you want by default. And it’s not just "a Fairphone can replace parts, a Samsung phone can be used with a close to desktop experience, a Google Pixels let you install other OSes etc … it should have nearly everything in one device by default. Otherwise it’s just a smart device that cuts out functionality by design. And non of these can disable sensors on hardware level (as far as I am aware), which is absolutely required.

1 Like

Androids are very capable these days, no argument there, but I wouldn’t credit them with equivalent functionalities of a desktop computer (and its operating system).

But, more relevant, what I was getting at is that the Librem 5’s internal components can be considered more similar to desktop/laptop (GNU/Linux) internals, with power draws and power management that is (probably?) more similar to those, due to its separate, isolated hardware pieces. Android mostly doesn’t have such separate hardware components inside, as far as I know.

The Librem 5 is also running mainly desktop programs that have been adapted for it, possibly not yet optimized to save power. Whereas Android has its optimized, native mobile apps, as well as aggressive “uni-tasking,” if I can suggest an opposite of “multitasking.”

At least, that’s how I understand it from Purism’s historical descriptions of the L5’s design. I’m no expert on any of this, of course.

2 Likes

Monotasking :wink:

2 Likes

Btw, I would not say it’s necessary to run desktop programs to be a desktop. There is no huge difference between mobile- and desktop apps. And Samsung also shows how a Galaxy-Smartphone can do desktop multitasking stuff (around 7:00), so monotasking and multitasking can be used depending on the situation. And I also think it would be great to have desktop programs that are energy optimized (100,000,000 people that run a program have a huge impact, even on small energy improvements). All of that just does not matter between pocket computer and smartphones. But hardware and hardware access (firmware) matters. All on top can be everything possible.

Google could make all the code FOSS and upstream it, use an original Linux kernel unmodified and is providing the same Linux experience as we have on L5 - just with energy efficient kernel. The typical smartphone devices with the “new Android” would still are smartphones because of hardware and firmware limitations. On the other hand, this kind of Android installed on L5 would still be a pocket computer.

2 Likes

I see. The Librem 5 uses a SoC/SoM. Because of that, other than the software it runs, it’s more like a phone/tablet/phablet than a desktop in the sense of hardware. The only hardware that is electronically “more isolated” than any other phone is the wifi and cellular modem (those are usually integrated on the SoC). On the other hand, phones like the Pixel have a NPU/TPU (neural/tensor processing unit) which is more desktop-like than the Librem 5.

There are two issues in regard to power usage.

  1. The NXP SoC wasn’t designed for low power settings. Even the CPU is something like a 28nm fab and power requirements per flop are related to that 28nm. The Pixel 9, I think, uses a 3nm fab.
  2. I’m not certain about this, but I also think that the OS hasn’t been optimized to deal with the various power usage modes of the SoC/Wifi/CellularModem. Google and Apple spent a lot effort minimizing their power usage.
2 Likes

My Chromebook Asus C201 can be in suspend about a week. Of course, it has no modem inside. But that is interesting, when I boot mainstream kernel, time in suspend reduces in 2 or 3 times! So, I believe there are some possibilities for librem 5 too, but using some hacks and strongly cpu or board related code in the kernel…

4 Likes

You’re right about the SoC. I think it’s just not possible or worth yet for a company like Purism to create new standards that we can change parts on it like on desktop motherboards. However, don’t forget that is not the only thing that matters.

Regarding power usage:

  1. Sadly true. Okay half true. Modern CPUs are all using some kind of low power abilities like reducing clock rate. But at the end it’s designed for automobiles where battery is no big deal for a simple board computer and low power profiles are just nice to have, but no requirement.
  2. OS is optimized, but still has much space for further improvements. They already spend a lot of time to extend the time from 6h max usage to (dos spoke about) 24h. Google and Apple have just much more work done, yet and that’s what we can see in the results. Nevertheless we may see further improvements on our GNU/Linux mobile devices (also related to Pinephone, Tablets etc). The process for further improvements may just slow down since things become more complicated.
3 Likes

You simplify this. Its odd and more complex. Because of the Kernel, the Hardware and it Power Saving Functions.

In the early Linux Days, power Saving was protected and it was hard and need much time to re-implement that feature for usual PCs.

The same we see here too. If you like take a deep look into hibernation.

TuxonIce can be some Key. But for Librem5 it have to be special. Since you would like to have a basic Process that run and wake up when you receive important interactions.

And that are not just Phonecalls and SMS. Its too:

  • Wake Up Timers/Alarms.
  • Message for Battary with lower than 5%!
  • Important SMS Broadcast Messages
  • Push-Messages from your Favorite Focuse Apps.
  • Sleep but just Play my Music/Podcast from RAM.
  • Collect GPS Information, if GPS is active.

Yes thinks like that should be done in Background if you Phone reach a low Level of Sleep.

However, i turn my phone off if i do not need it or WLAN and Mobile. However Using Mobile Data needs less energy here than my WLAN. Think its because WLAN is not optimized, and maybe the Mobile Access too.

To gain the last percentage its hard to focus on that drivers i think because they may be proprietary enhanced, claimed by patents.

But we can find and evolve some better with time and enough nerds, like to focus on that kind of computing to understand it and enhance it.

1 Like

22 posts were split to a new topic: Tangents from increase battery life

L5 Battery v2, may help for power sink by increasing from 4kma to 7kma on same battery size.

2 Likes

Apparently Flx1 phone which also runs phosh and has better android integration has much better battery life than Librem 5 and even supports 5G . Some users even state that it can last days and with moderate usage can easily last a day at least . And this comes also from a small development team . So it can be done , they have prove it. I do hope that Crimson brings improvements to the battery management department

2 Likes

Crimson will not bring such improvements. It’s no magic that glibbers inside your device. As I said somewhere else, Mobian also has not such a long uptime, so Crimson will neither.

And why 5G? For what do you need it right now? I think we have other things on the todo-list with much higher priority. Once 5G becomes important, we still can upgrade the L5.

1 Like