short battery life on OPO (Bacon) with OTA12
-
Moem, did you fit a new battery, and did it make much difference?
-
@cliffcoggin I didn't yet, it's on the slow boat. But this gives an impression of current battery life of my OpO on UT:
-
@Keneda Things got much better after changing to devolpers channel and build 51.
-
@Moem I have an idea how we can disable IPv6 do you wanna try it?
-
@Flohack Disable it on the phone? I'm game. I'm not good with the terminal, but I can follow directions.
-
Alright, take a look at this please: https://pad.ubports.com/p/nm-battery-experiment and tell me if you were succeeding with that. You can check if it worked, you should no longer receive the following entry in dmesg log:
Jun 18 11:23:44 ubuntu-phablet NetworkManager[1342]: <error> [1497777824.2948] platform-linux: do-add-ip6-address[21: 2a02:8388:8981:d00:9c9b:9eab:443f:a3aa]: failure 22 (Invalid argument)
-
@Flohack I'm busy today but I'll try this out tomorrow.
-
@Flohack I just tried but had to give up. I have logged what went wrong. Sorry.
Edited to add: I got some help and that made things work. But IPv6 does not appear to be successfully disabled. -
@Moem Can you send output of dmesg, if you see any messages about IPv6 repeatedly put there? And, what does ifconfig say for the wifi interface, does it show an IPv6 address? Probably not, as this is broken on all 3.x kernels IMHO
-
@Flohack As I tried to indicate before, I'm not good with the terminal at the best of times. I'm worse with the terminal on UT. I don't know how to select or copy, scrolling is spotty at best, and if I manage to copy what on earth do I do next?
I'm getting screens full of output from the command 'dmesg'. I don't think I see anything about ipv6 there, but looking at terminal text on a phone screen feels like watching a movie through the mail slot.
If I enter 'dmesg | grep ipv6' or 'dmesg | grep ip6' I get zero output. (just a new command prompt)In the output of 'ifconfig', how do I recognise the part about the wifi interface?
In any case, the battery gets eaten at a rate of 21% over the last hour or so.
-
@Moem
You can try something like this commanddmesg > /home/phablet/Downloads/dmesg_output.txt
This will create a file that you can retrieve with dmesg output.
The>
character redirect the standard output from the preceding command to a file following the sign. -
-
@Moem best would be you upload it to pastebin or a similar service. And put the link here.
BR Florian
-
@Flohack Yes, that's fine, it's here: https://pastebin.com/tCNVRz7a
-
Hi everyone,
Like most of you in this thread, I have noticed a drop in battery life since OTA12 with very light usage of the phone. Nothing looking awful when taking a look at processes with "top" in the phone terminal, Unity8 with ~2-5% of CPU... which means that hardware is working too much when most things should be idle.
I will try:- disabling wifi (except when I use it)
- try and disable IPv6
Will report back here...
thanks -
@Moem Sory I would need the dmesg right after startup. You sent me one thats already after some time of operation. So reboot, and then try to capture it. Also /var/log/syslog could be useful..
-
@truscellino You cannot use top to measure activity of the CPU, since top will keep your phone out of deep sleep, and, worse, if you try it with the terminal-app you will also see a lot of CPU going into rendering the display. Also, if you connect a cable and the phone gets charged from that, the whole battery management will switch to different modes.
So currently there is no reliable way to capture activity of the phone while you are on the go, someone needs to research kernel measurement facilities for that.
-
@Flohack said in short battery life on OPO (Bacon) with OTA12:
Sory I would need the dmesg right after startup.
Right. That's not the kind of thing a beginner would 'just know'. But no problem, I'll get to it.
-
@Flohack said in short battery life on OPO (Bacon) with OTA12:
Also /var/log/syslog could be useful..
Right, I know how to browse to it in the file manager, but I have no idea how to open it or copy it. If I tap on it I get asked whether I want to open it in 'another app' (other than what?) and if I click that I get offered the option to open it in OpenStore.............
I did install a text editor earlier, but the system doesn't seem to be aware....okay, someone else is helping me. But surely these things could be easier? I want to help but I feel so lost
New dmesg output (I hope) is here https://pastebin.com/Uh3Qsivu
Syslog is 14 MB and Pastebin does not accept that. -
@Flohack said in short battery life on OPO (Bacon) with OTA12:
IPv6
Thanks for the tip! After following the instructions and a reboot, I get
phablet@ubuntu-phablet:~$ cat /etc/sysctl.d/30-ubports-disable-ipv6.conf net.ipv6.conf.all.disable_ipv6=1 phablet@ubuntu-phablet:~$ ifconfig wlan0 wlan0 Link encap:Ethernet HWaddr c0:ee:fb:9c:b8:e8 inet addr:192.168.178.29 Bcast:192.168.178.255 Mask:255.255.255.0 inet6 addr: fe80::c2ee:fbff:fe9c:b8e8/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:406 errors:0 dropped:1 overruns:0 frame:0 TX packets:136 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:69205 (69.2 KB) TX bytes:15370 (15.3 KB) phablet@ubuntu-phablet:~$ dmesg | grep -i ip6 [ 2.586628] ip6_tables: (C) 2000-2006 Netfilter Core Team phablet@ubuntu-phablet:~$ dmesg | grep -i ipv6 [ 2.586565] Mobile IPv6 [ 2.586844] IPv6 over IPv4 tunneling driver [ 17.546583] wlan: [860:E :HDD] hdd_wlan_startup: 9414: Registered IPv6 notifier
This probably means ip6 is still on, is that correct? I have no time to check the traffic now, but will keep an eye on power consumption.