android


Difference between BatteryManager.EXTRA_SCALE and BatteryManager.EXTRA_LEVEL


I am writing an application where I need to fetch Device Battery status.
Here I found following these two property :
1. BatteryManager.EXTRA_SCALE and
2. BatteryManager.EXTRA_LEVEL
What is difference between both. Any suggestion?
EXTRA_LEVEL - integer field containing the current battery level, from 0 to EXTRA_SCALE.
EXTRA_SCALE - Extra for ACTION_BATTERY_CHANGED: integer containing the maximum battery level.
http://developer.android.com/reference/android/os/BatteryManager.html

Related Links

Alert dialog coming twice when changing from one tab two another tab in android
How to make Popup menu in Tabs?
How to print image that is in byte array using json
Page down in Appium
How can I verify that my application won't download to android which hasn't BLE
Connect android emulator installed on local machine to a virtual machine
E/CameraSource: Failed to start recording, received error: Function not implemented (-38)
TextInputLayout and AutoCompleteTextView
Submit multiple forms with one button in android app?
Corona sdk display multi line notification
Removing user login button on Aviary Image Editor
Reverse Engineering Native Apps by Intercepting Network Traffic With Charles 4?
Android thread memory Leak
Not getting proper version code when using both split by abi and density
How to get GPS co-ordinates of particular place from HERE map
Play NSData or byte array form video from iOS and Android in HTML video tag

Categories

HOME
phantom-dsl
fpga
3d
rsa
toolbox
saml-2.0
package
r-googlesheets
mips
cakephp-3.4
pyqt4
maxscript
qpython
fosrestbundle
owin
mxgraph
nancy
shared-libraries
gource
keytool
modbus-tcp
cfml
gmm
replication
angular-routing
displaytag
pylons
outliers
progress-bar
wcag
autodesk-designautomation
autolisp
contacts
android-maps-extensions
google-knowledge-graph
password-protection
verifiable-c
plaintext
attributeerror
dbnull
smoothstate.js
clang++
nanoc
textsum
globalize
netbeans6.8
bluez
amq
context-switch
filehandle
quicktime
oozie-coordinator
libjpeg
cmp
renaming
redistributable
microstation
macaulay2
tooleap
libav
atan2
inf
vigenere
forwarding
video-player
binomial-theorem
sapscript
canalyzer
batik
mod-proxy
sha512
fail2ban
fits
rrule
cryptographichashfunction
mass-assignment
infosphere-spl
showdialog
filesplitting
imagefilter
strawberry-perl
verold
cancellation
ie8-compatibility-mode
route-provider
cascadingdropdown
web-notifications
idn
fragmenttransaction
fusefabric
kqueue
urlrewriter
gobject-introspection
filemerge
listactivity
lr
dataform
cac
maven-1
binomial-heap
strtod
entitykey
blind
image-capture

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App