-
public class BatteryInformation extends DeviceFingerprint
-
-
Constructor Summary
Constructors Constructor Description BatteryInformation(Context context)Battery Constructor
-
Method Summary
Modifier and Type Method Description final intgetBatteryPercent()Get battery level in integer value final booleanisPhoneCharging()Get battery charging status final StringgetBatteryHealth()Get the battery health final StringgetBatteryTechnology()Get the battery technologyEx. final floatgetBatteryTemperature()Get battery temperature final StringgetChargingSource()Get charging source final doublegetBatteryCapacity(Context context)Gets battery capacity in mAh -
Methods inherited from class ai.sensfrx.df.DeviceFingerprint
checkBluetoothStatus, getAMPMFormat, getAllVolumeLevelsInfo, getAppsWithMockPermission, getLockTypeString, getManifestPermissions, getNightModeStatus, getScreenBrightness, isDNDModeEnabled, isDeveloperModeEnabled, isDualSim, isMockLocationEnabled, isPowerSavingModeEnabled, isSimCardLocked -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
BatteryInformation
BatteryInformation(Context context)
Battery Constructor- Parameters:
context- as para
-
-
Method Detail
-
getBatteryPercent
final int getBatteryPercent()
Get battery level in integer value
-
isPhoneCharging
final boolean isPhoneCharging()
Get battery charging status
-
getBatteryHealth
final String getBatteryHealth()
Get the battery health
-
getBatteryTechnology
final String getBatteryTechnology()
Get the battery technologyEx. Li-ion
-
getBatteryTemperature
final float getBatteryTemperature()
Get battery temperature
-
getChargingSource
final String getChargingSource()
Get charging source
-
getBatteryCapacity
final double getBatteryCapacity(Context context)
Gets battery capacity in mAh
- Parameters:
context- as para
-
-
-
-