Android Question Microampere and app

AlpVir

Well-Known Member
Licensed User
Longtime User
It uses more power app with a white background or black background ?
If so what would be the difference (in percentage) ?
Someone is able, eventually, to try to measure the micro-microampere consumption of simple app below, in two different states (white / black) ?
B4X:
Sub process_Globals
End Sub

Sub Globals
    Dim panel1 As Panel   
    Dim BN    As Boolean
End Sub

Sub Activity_Create(FirstTime As Boolean)
    panel1.Initialize("panel1")
    Activity.AddView (panel1,0,0,100%x,100%y)
    panel1.Color = Colors.White
    BN = False
End Sub

Sub Activity_Resume
End Sub

Sub Activity_pause (UserClosed As Boolean)
End Sub

Sub panel1_click
    If BN = False Then
        panel1.Color = Colors.white
        BN = True
    Else
        panel1.Color = Colors.Black
        BN = False
    End If
End Sub

Of course, disabling the network, wifi, bluetooth and every possible cause of consumption different from the app itself.
I would understand if, in developing an app that saves the battery AT MOST, you must pick the black background, or if it is indifferent.
I know that in ebook readers such a question would not make sense, but in the smartphone ....
Thanks in advance for the unusual request.
 

rbsoft

Active Member
Licensed User
Longtime User
With LCD based Displays there should not be too much of a difference if you are using a black or a white background. These displays are backlit.

I does make a great difference with OLED Display. The lighter a pixel is the more power it consumes. A black pixel consumes almost no power.

For more information see this article and check under the heading "Better power efficiency and thickness":
http://en.wikipedia.org/wiki/OLED#Advantages


Rolf
 
Upvote 0
Top