@chdslv That doesn't make much sense. UT packaging uses click, not apt.
How does the system gets cleaned after app upgrades? Is that done automatically?
Anyway, I think a touch centered distro won't work with Dex. The device is supposed to work as a touchpad, when an external monitor is used. Don't know even, it'd get installed. Thanks anyway.
apt-keyis used to manage the list of keys used by apt to authenticate packages.
You can find UBports key at http://repo.ubports.com/
or should I do,
apt-key adv --fetch-keys http://repo.ubports.com/archive.key
or any other way?
For Linux on DeX, I presume you can simply add the UBports apt key and repo, and then install unity8, however it likely won't work, due to how things are built.
What is the Ubports apt key (where can get it)?
If I could do that, I wouldn't have asked the question.
It would be nice, if UBports can discuss the matter with the Linux on DeX developer team. I mean, if they agree, things would go forward on quite new devices. I have an N5, but it becoming just a toy now, mostly lying around.
Is there any chance of having Ubports or Unity 8 on Samsung DeX? On Linux on DeX? Ubuntu 16.04 is quite nicely working there. It is the only distro available yet.
@advocatux From the article you linked.
"That old saw about how you always need to charge you battery all the way up, and use it until it's dead? Memory effect, as it's called, affects NiMH batteries but it doesn't apply to your phone. In fact, you're phone's battery hates when you do that. Similarly, lithium-ion batteries don't need to be "calibrated" with a full charge and a full discharge when they're new."
"A lithium-ion battery typically charges in two stages. First comes the process called constant current charging."
"When the battery is 70 percent recharged, the procedure changes and flips over to constant voltage charging. During this second stage, the charger makes sure that the voltage—that is, the difference in current between the battery and the charger—stays the same rather than keeping the current constant. Practically, this means that as the battery gets closer to full, the current the charger sends into it decreases. As the battery gets full, the rate at which it charges slows down. Once you reach 100 percent, the charge simply trickles in, just enough to account for the tiny, tiny bit of charge your battery loses naturally over time."
Anyway, the 100% charge the battery until the icon becomes white is not exactly correct. Usage of the energy depends on how much the apps use them, over time. Apps use the energy they need, disregarding the level of energy in the phone battery. And a mobile phone sleeps most of the time.
Finding a fresh, new OEM Li-Ion battery for our few years old phone is pretty hard -- out of production for a year or two.
@lakotaubp I've been doing some research on the life of lithium based batteries for last few days.
They don't have any memory like effect as in the older Ni-Cad batteries. What might damage the lithium battery is dropping the battery charge to 0% and leaving it for long time. Charging it to 100% all the time only makes the charging cycles less. It is better to charge up to 80% to get more charging cycles from the battery. Short charging the battery also helps it.
When the mobile phone goes to sleep, some apps are still working depleting energy. If the phone is completely off, no apps are working, you'd get practically the same battery level the next day, when you boot it up, but that's not what a mobile phone is for. It should be on all night, all day.
@chdslv We are always here to help and assist where we can. However we will not allow the issues you have been made well aware of.
If you have another issue or problem regaurding Ubuntu Touch you will be welcome to post it on the forum. The Community is here to help.
Thank you for the help offer, that is, if I buy the OPO. N5 will be sold, so the problem is over.
Only, please understand, the OP is "Observations on battery life - please share your experiences" and I was writing about my observations and experiences on the phone that I own, not on other phones. I wrote about my "observations" before this thread.
Anyway, the N5 battery problems are over, at least for me. If I buy the OPO, and if I find any problems other than the battery, I'll ask. There's no need to antagonize anyone on something that can't be solved.
@dobey Explaining this matter, the last time.
I bought this N5 after reading this https://devices.ubuntu-touch.io and whole lot of forum posts here. N4 and N5 were supposed to be ones that would work fully with UT. Bought the phone only for testing UT. (I have no interest in buying an older phone to use with Android, mind you.) When I noticed the battery drain, I had to choose; either change the battery or check how it works in its original state. So, I chose check the N5 in its original state. I posted the results, thinking it would help the community, rather than antagonizing it. I am new here, by the way.
I agree as it is my phone, it is my problem.
@Lakotaubp says OPO's battery is doing well. There are few OPOs out here to buy, for more less the same price as the N5. The idea is to test UT with a phone. If I buy it, it is my problem then, so won't post on the battery status, or on any other matter.
@chdslv It's not that anyone thinks it's unimportant, but as we have said many times before the issue is well known.
This has been done to death now.
For those, who have been here for a long time, it might be an old horse, but for me, who had bought a N5 few weeks ago just to install UT, it is a big problem. Might as well go back to stock rom.
@lakotaubp Do you have a N5 to compare with OPO? There are few OPO's out there to buy, but not really sure.
Fairphone 2 and Oneplus Ones are more "flagship devices" than the Nexus models nowadays.
Are you saying in these old phones the batteries don't drain in idle state in UT as in N5?
@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.
@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. )
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.
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.