Maximus
Maximus

Reputation: 285

Power consumption for various colors in android

I wanted to measure the battery consumption of various colors in the range of 0-255 in android. Wanted to do it through an application. Currently I am using the PowerManager to measure the initial level of Battery and then keeping the screen bright for say 10-20 mins and check the final battery level, the difference giving me the usage in %. But I am getting weird results as in "white" uses same power as "black" (both having a drop of 4%). So I think my appraoch may be wrong. Can someone please suggest me to appraoch the problem in a correct way. Please help !!

Upvotes: 1

Views: 318

Answers (3)

Parry Hotter
Parry Hotter

Reputation: 101

There's an official power estimation tool called Battery Historian.It will create a text file which will show the power consumption of each component of the device in mAh.

I also suggest you to run you App for a longer time like 1 hour because the power consumption difference may be very small.

I hope this will help you.

Upvotes: 0

Kumar Rangarajan
Kumar Rangarajan

Reputation: 431

(disclaimer: I co-founded the company that built the below product)

Try Little Eye from Little Eye Labs, which lets you track an individual apps power consumption and breaks it down into its various hardware usage, including display, CPU and wifi (and shortly GPS). Based on the pixel color and the brightness levels used, the power consumption trend of the app will vary, and Little Eye helps you visualize that quite easily. Note its a desktop product (which connects to your phone) that you need to download and install from here

Upvotes: 1

André Puel
André Puel

Reputation: 9189

I dont know what device you are using, but usually what really consumes the battery is the backlight, while the color is disposable in terms of power consumption.

Upvotes: 2

Related Questions