Hi all,
I am using OS Library for getting Battery charge level. In OS Library almost all functions which i had tested are working except for the BatteryLevel. with its permission android.permission.BATTERY_STATS
In Library Description it is mention that we need to first call BatteryReceiver.
Upon calling this function, Java errors comes, and after disabling BatteryReceiver calling BatteryLevel gives "null" value.
Need your help
Thanks
I am using OS Library for getting Battery charge level. In OS Library almost all functions which i had tested are working except for the BatteryLevel. with its permission android.permission.BATTERY_STATS
In Library Description it is mention that we need to first call BatteryReceiver.
Upon calling this function, Java errors comes, and after disabling BatteryReceiver calling BatteryLevel gives "null" value.
Need your help
Thanks