Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The author of <a href="https://play.google.com/store/apps/details?id=com.darshancomputing.BatteryIndicator&amp;hl=en" rel="nofollow">BatteryIndicator</a> wrote in his <a href="http://code.google.com/p/battery-indicator/wiki/FAQ#How_does_Battery_Indicator_work?_/_How_does_it_know_what_percent" rel="nofollow">FAQ-How_does_Battery_Indicator_work?</a></p> <blockquote> <p>How does Battery Indicator work? / How does it know what percentage the battery is at?</p> <p>The Android system has a mechanism where you can register your app to be notified when the battery status changes. So Battery Indicator has a background service that is technically always running but is essentially always sleeping and using basically no system resources (because it doesn't do any polling -- it just sleeps and waits to be notified by the OS when something changes), then when the battery charge (or plugged-in status) changes, the system wakes it up and tells it what the new battery charge (and status) is. Then it takes just a few milliseconds to change its icon to reflect the current charge (and status) and goes back to sleep.</p> <p>If you're technically oriented, the documentation for the core API that Battery Indicator uses is here: <a href="http://developer.android.com/reference/android/os/BatteryManager.html" rel="nofollow">http://developer.android.com/reference/android/os/BatteryManager.html</a> and the actual source code to the development version of the app is here: <a href="http://code.google.com/p/battery-indicator/source/browse/trunk" rel="nofollow">http://code.google.com/p/battery-indicator/source/browse/trunk</a> .</p> </blockquote> <p>The app shows consumption of different modules</p> <pre><code> Phone in Standby 59% Akku in Standby 39% Display 4% </code></pre> <p>But i donot know how this is implemented.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload