Lenovo Officially Owns Motorola, Following ~$3 Billion Deal

Google is now officially no longer the owner American phone manufacturer … more

Microsoft Band Fitness Tracker Announced, Available

The wearable market has been around for a few years, with Pebble and Samsung smartwatches … more

Forums Added for the Oppo R5, Oppo N3, and Xiaomi Redmi Note

Just yesterday, Oppo unveiled a pair of rather unique smartphones, the Oppo … more

How to Play Music From Android Wear – XDA TV

Yesterday, we showed you how to do some advanced things with your Moto 360 quite easily … more
Post Reply

[APP][RECENT] Optimizations to reduce Power Consumption

OP uuOuu

21st March 2014, 02:08 PM   |  #1  
uuOuu's Avatar
OP Senior Member
Thanks Meter: 334
 
362 posts
Join Date:Joined: Oct 2013
RECENT, makes finding your latest photos, downloads, installed apps, and used apps in much easier way!

Two weeks ago, we released the productivity app RECENT on Google Play (https://play.google.com/store/apps/d...m.toma.lastest), and post its news to first release on XDA-Developer forum.

Here we must say “Thank You!” to Will Verduzco, who give us an exposure on XDA-Developer news: http://www.xda-developers.com/androi...s-with-recent/, and to review from Stefan : http://www.droidapp.nl/apps/recent-j...aties-op-orde/ .
Your kindly help supports us to reach more audiences, and help people to quickly get their recent documents, apps, downloads, pictures, and so on.

Stefan and some users pointed the issue of power consumption to our app RECENT. After works in a few days, we fixed this problem. Please check the image below, the latest version of Recent in Google Play has minimum power consumption.





Here we share our works to reduce power consumption.
First, we take Wakelock Detector (Many thanks to suggestion from Stefan) to identify why this problem occur. Over crank repeats and CPU time are the first matters we found out. After tests with mask to Timer, we confirm the large power consumption is caused by Timer.





After code review, we find out why our app RECENT call Timer in higher frequency: to obtain the parameter “number of use” and “last time of use” of each installed app on device, showed as picture below:





The first optimization plan we take is to optimize codes after the app enables the Timer, since we still hope to show all users the information of “number of use” and “last time of use”. So, after optimization, we reduce 80% CUP time.





BUT we believe our RECENT should take much smaller power consumption that comes from consideration of saving power to smart phones. After review to usage scenarios, we think providing information of “number of use” and “last time of use” cannot help users much more.
So we have our second optimization plan: completely remove Timer.
Frankly speaking, the result with second optimization plan is really satisfied. The power consumption of RECENT could be ignored on real machine.





NOTICE:
Utilities for tests: Wakelock Detector, DU Battery Saver
Test Machine: Google Nexus 7

Many thanks to the supports from Stefan, Leon Kehoe, Jamie, Michael B.N..
THANK YOU your guys helped us to the work of optimizing power consumption.
Last edited by uuOuu; 21st March 2014 at 02:16 PM.
The Following 15 Users Say Thank You to uuOuu For This Useful Post: [ View ]
21st March 2014, 02:41 PM   |  #2  
Junior Member
Thanks Meter: 1
 
5 posts
Join Date:Joined: Mar 2014
Guys, great work and love your attitude!!
22nd March 2014, 11:27 AM   |  #3  
uuOuu's Avatar
OP Senior Member
Thanks Meter: 334
 
362 posts
Join Date:Joined: Oct 2013
Quote:
Originally Posted by CharlesPeng

Guys, great work and love your attitude!!

Thank you CharlesPeng, Hope the app can help you! Any suggestion please send to us.
22nd March 2014, 08:16 PM   |  #4  
caspboy's Avatar
Senior Member
Flag Charlotte, Nc
Thanks Meter: 1,035
 
585 posts
Join Date:Joined: Jan 2014
More
awesome app
22nd March 2014, 08:23 PM   |  #5  
Senior Member
Thanks Meter: 565
 
1,389 posts
Join Date:Joined: Mar 2012
Quote:
Originally Posted by CharlesPeng

Guys, great work and love your attitude!!

+1 @uuOuu
Last edited by silentvisitor; 22nd March 2014 at 08:27 PM.
23rd March 2014, 02:15 AM   |  #6  
Junior Member
Thanks Meter: 5
 
28 posts
Join Date:Joined: Sep 2010
thx alot for this info
The Following User Says Thank You to Vingadero For This Useful Post: [ View ]
24th March 2014, 09:29 AM   |  #7  
uuOuu's Avatar
OP Senior Member
Thanks Meter: 334
 
362 posts
Join Date:Joined: Oct 2013
Quote:
Originally Posted by caspboy

awesome app

Thank you and hope it can help you!
24th March 2014, 09:36 AM   |  #8  
uuOuu's Avatar
OP Senior Member
Thanks Meter: 334
 
362 posts
Join Date:Joined: Oct 2013
Quote:
Originally Posted by Alexerik

many thanks 4 ur effort!

We will try our best, thanks for your support!!
24th March 2014, 09:39 AM   |  #9  
uuOuu's Avatar
OP Senior Member
Thanks Meter: 334
 
362 posts
Join Date:Joined: Oct 2013
Quote:
Originally Posted by Vingadero

thx alot for this info

We hope to do more for you, and share more info, any suggestion please contact us.
27th March 2014, 02:54 AM   |  #10  
Junior Member
Thanks Meter: 0
 
1 posts
Join Date:Joined: Mar 2014
Thumbs up
well done

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Apps and Games by ThreadRank