Observations on battery life - please share your experiences
jezek last edited by jezek
As I wrote in another thread:
I have the same experience on FP2 with OTA3 (15.04).
If wifi is on, there is a huge battery drain (~36% in 12 hours).
If wifi is off, the battery drain is much lower (~6% in 12 hours).
So, on FP2 (OTA3) with minimum usage and
- wifi off - something above a week (~ 7 days)
- wifi on - something above one day (~ 1 day)
Note: I was a while on OTA5, the battery drain was like on OTA3
Note2: Mobile data off
On my previous BQE5HD with original Canonical UT, the operational time with wifi on (and mobile data on) was about 4-5 days.
Edit2: updated details on mobile data
I've replicated what follows from the Telegram Supergroup, as that's no place to collect observations from people using a variety of phones. Hopefully some patterns will emerge that inspire improvements.
I have a Nexus5 and, since 16.04, regularly get over 24hrs from the battery. OTOH I have noticed that there are (still) issues:
- Sometimes it gets to a state that "eats" battery very quickly when not in use. Shutting down (which, in this state often need two tries before the screen goes fully black) and rebooting seems to fix this.
Glad you brought this up. N5 just eats the battery in idle state. Wifi, Data, LTE etc are all off. I tested this matter on Android (stock rom and Pie 9 rom) and the battery didn't drain at all. So, it should be an OS problem. I wrote about that here, https://forums.ubports.com/topic/1958/n5-battery-usage-in-ut-and-in-android
Hope something can be done about this problem. Some apps don't go to sleep correctly, I suppose.
Stefano last edited by Stefano
I also have Nexus 5 and battery life was awful, BUT, after switch to Xenial, things improved.
I still have an issue with wifi not remember the passwords after reboots, but apart from that it's ok.
Nexus 5 has a design flaw with the battery, should be at least 3000mAh due the processor(not the most power efficient)
Anyone that has a problem with the battery life, should wipe it clean, format data, reinstall latest Android Nexus firmware and then install Ubuntu Touch.
There might be an issue, if the phone was not on latest firmware and/or was not properly wiped/formated.
No other magic is possible.
Even on Android, the battery life is not stellar ( actually really poor)
Sometimes it gets to a state that "eats" battery very quickly when not in use. Shutting down (which, in this state often need two tries before the screen goes fully black) and rebooting seems to fix this.
Glad you brought this up. N5 just eats the battery in idle state.
Clearly our experiences differ here: if you always see what I see sometimes then figuring out why there's a difference could provide the clue needed to fix it. Either your phone is different to mine, the way you use it is different to me, or something else (the cell network?) is different. I've tried to explain how I use it in the top post - are you doing something different?
I see from the linked thread that you've tried some experimentation. Would you be up to trying some more?
First, to get a baseline that we can both reproduce:
- put into flight mode
- power off
- charge fully
- switch on
- immediately, without starting any apps, leave idle overnight (8hrs say)
- Check the battery level in system settings
If we get wildly different results, then something is different in the phone. If not, something is different in how (or where) we use it.
chdslv last edited by chdslv
I explained how I tried to use the N5 in the other thread. The phone was left without use for more than 8 hours. WiFi, LTE was off. Was not on flight mode. Battery level was shown on the notification bar.
Then, I moved the phone over to Android to check the battery usage in idle mode, otherwise there's no way to compare. I wrote what I found out. Then I moved the phone back to UT, and the battery started draining again very fast.
Keeping the phone at this stage on UT would put it and the battery on strain, so I moved it back to Android (Pie 9). Someone said that there's bug of not putting some apps to sleep in UT. Normally a mobile phone goes to sleep when left alone.
The only way to check the difference is by moving the phone back to Android to compare. And, it should be the same phone with the same battery.
jezek last edited by jezek
Maybe it would be useful wo write some scenarios, to measure battery consumption. Like:
scenario: #1 - flight mode, no usage
- put phone to flightmode (initial settings)
- write down battery state (initial state log)
- reboot (start test)
- wait some time without interaction (1h, 2h, ....)
- write down battery state (result state log)
- post results somewhere in some format (post log - e.g. add line to csv on github "
jezek-FP2 [OTA3],#1,99%,1h,97%", note: this is just an example, no real observation)
Note: if something interferes with scenario (phone call, user manipulation, ...) test is not valid, needs to be repeated (until someone figures out, how to log these events).
Or some script with steps above could be done... later
Mic_ last edited by Mic_
I am using a BQ E5 and a Nexus 5, both with UT 16.04 RC
The BQ E5 has really a phantastic energy management which was even improved after updating from 15.04 to 16.04. After 24h in standy it is loosing 2-3% of charge state.
The Nexus 5 has a very poor energy management and even in standby the shown percentage is sinking all the time. Maybe 50% in 10 hours.
I had since yesterday on the Nexus 5 16.04 DC installed and after updating to DC-version 175 I had the feeling that energy management improved massively. Now I turned back to actual RC-version and the energy management is very poor again.
Sorry for beeing not very detailed here - I just want to mark out that in the development channel some energy management improvements for N5 are in progress.
@Stefano : Is there a way to "reinstall latest Android Nexus firmware" if I have Ubuntu Touch installed?
Stefano last edited by
@mic_ yes, just install latest Nexus image from Google , then reinstall UT.
But you loose everything, all data. There was a guide by flohack about flashing latest firmware over UT, but not sure if that would solve anything.
Easier and better to wipe it clean, flash Nexus Android, then wipe it again and flash it with UT.
advocatux last edited by
There was a guide by flohack about flashing latest firmware over UT
@stefano just in case
htc_tattoo last edited by
For me the mobile data eats the battery. I use the N5 with RC images for 2 years, there were worse versions an better versions, but generally mobile data connection is the problem. With just mobile internet i don't survive the day, even if i don't use the phone at all.
Wifi consumes far less, bluetooth i turned off.
Gps, screen on and mobile data consume so much (navigation), that a 500mA recharger is not enough to prevent emptying the battery...
wgarcia last edited by
The Nexus 5 had poor battery life since when it was released with the manufacturer Android image, there are a lot of complaints and reports over the Internet about this.
In my case I think there must be some process or something involved, since sometimes it drains very fast and I notice the phone is hotter, sometimes it lasts a lot more, and I don't turn off mobile data or wifi (bluetooth yes).
@wgarcia The question is, why the battery drains much faster in UT than in Android in the same N5 phone in idle state. And, if we are talking about a "faulty" phone, even for Android, why not go for a newer phone? (Of course, the 2nd question is not liked. )
In my case I think there must be some process or something involved, since sometimes it drains very fast and I notice the phone is hotter, sometimes it lasts a lot more
Yes, that sounds like issue 1 in the initial post. If I don't notice the battery dropping I eventually notice the warm pocket. Of course, for me, it never happens when it's convenient to try to figure out what's happening on the phone. Have you tried the workaround I mentioned above?
Next time I see this I should open a terminal, run "top" and capture the screen. It might give an additional clue. (Other suggestions welcome.)
UBportsNews last edited by
This post is deleted!
Lakotaubp last edited by
"I've replicated what follows from the Telegram Supergroup, as that's no place to collect observations from people using a variety of phones. Hopefully some patterns will emerge that inspire improvements."
The above is a quote from @alan_g who started this thread. Please keep this in mind when makeing posts or observations. I've reposted it as this thread is getting quite long and may be missed by people new to the thread.
This thread is I believe to help find solutions to battery issues across all UBports Ubuntu Touch devices by finding common issues.
Repeating comments or issues already clearly known or stated is not going to help anybody. Comparing to Android will not help move this issue on . Old devices of whatever make and OS do not compare with what is available now or maybe coming shortly.
So let's be positive and move forward and find those common issues that can be rectified. Thank you for your understanding.
Repeating comments or issues already clearly known or stated is not going to help anybody.
There's a fine line here: Adding more information (even a few "me too"s - to indicates it is common) doesn't count as repeating. Seeing an issue on different devices, or software versions doesn't count as repeating.
Lakotaubp last edited by
@alan_g Agree totally. ''Me to'' is fine and so is ''same as so and so but on another device'' is also good and helpful.
wgarcia last edited by wgarcia
@wgarcia The question is, why the battery drains much faster in UT than in Android in the same N5 phone in idle state.
In my case, as in @alan_g case, it does not drain always, just when something happens that starts to heat up the phone. Let's see if we catch what that is.
And, if we are talking about a "faulty" phone, even for Android, why not go for a newer phone? (Of course, the 2nd question is not liked. )
What do you mean? Do you think that no other phones are ported because we don't want to do so or we are married with the Nexus 5 and the few other phones ported right now? No more phones are ported because we don't know how to port them, if we knew of course they would be ported. And don't be mistaken, a lot of people is trying, but no success so far.
@lakotaubp Comparing to Android will not help move this issue on .
There are no dedicated phones for UT, only those that had come with Android, meaning were manufactured to work on Android, other than the few that once had UT. At the moment, the flagship devices are more or less N4 and N5, so the only way to test them on UT is by comparing how they worked, or the battery worked while on the OS they was designed for. For example, if the battery drains much faster in idle state in UT than in Android, then there is a problem with UT, but not with N5.
(I don't have any other devices that would boot UT, other than N5, and I bought it just for that. Searched for quite a while to find a decent N5 with a good battery.)
UT is an after market rom for older phones that don't get any Android updates. But, it is eating the battery.
advocatux last edited by advocatux
@chdslv BQ E4.5, E5, and Meizu Pro 5 have (had) a Ubuntu Edition from factory.
We the community are trying to port UT to some devices running Android currently, but we're trying to port it to Pine64 devkit, Raspberry Pi, and some other devices as well, including Librem5 devkit (soon).
On the other hand, UT is not a ROM.
Fairphone 2 and Oneplus Ones are more "flagship devices" than the Nexus models nowadays.
Finally, I'm pretty happy with how long lasts the battery in my N5. The combo new battery + xenial are doing wonders for a device that even when running Android doesn't have the best battery life in the world