(see also comment #5 above) sudo add-apt-repository ppa:colin-king/white sudo apt-get update sudo apt-get install cpustat
cpustat blocks on a select() system call. While the phone is not suspended it will log all CPU process activity every 2 seconds. This will consume ~0.25% of the CPU, so in real terms that's almost nothing. cpustat will not block the phone from deep sleep. The kernel will freeze it when the phone goes into deep sleep. please do the following: adb into the phone and type: nohup cpustat 2 > cpustat.log & exit then disconnect the USB and let it run. Once the phone is drained, or whenever you want to stop the test, copy the cpustat.log over and we can analyze it. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to powerd in Ubuntu. https://bugs.launchpad.net/bugs/1372413 Title: Extensive battery drain on RTM Status in the base for Ubuntu mobile products: In Progress Status in powerd package in Ubuntu: Confirmed Bug description: Mako, RTM 1 Since upgrading to RTM the battery life is really poor. What used to be a battery drain of 5-10% per hour (which is still high) is now 10-15% per hour. Sometimes the phone runs really hot, so there seem to be something going on in the background that is consuming power. I mostly have bluetooth, GPS (which isn't always working), wifi and cellular on, but that's no difference from when I was running 'devel- proposed' with MultiROM with much less battery consumption. As an example, I started with a full charge at 7am. After some web surfing (<15 mins) and watching a couple of youtube videos (on wifi) battery was down to 66% at 9:15. That's 34% in just over two hours! I recharged again before lunch and had the phone idle until coming back 1 hour and 45 mins later to find only 75% of battery left, this time without the phone running particularly hot. To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1372413/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp