-
public class BatteryInformation extends DeviceFingerprint
-
-
Constructor Summary
Constructors Constructor Description BatteryInformation(Context context)Battery Constructor
-
Method Summary
Modifier and Type Method Description final booleanisPhoneCharging()StringgetBatteryState()final intgetBatteryPercent()Get battery level in integer value 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, getGpuInfo, getLockTypeString, getManifestPermissions, getNightModeStatus, getScreenBrightness, isCustomROM, 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
-
isPhoneCharging
final boolean isPhoneCharging()
-
getBatteryState
String getBatteryState()
-
getBatteryPercent
final int getBatteryPercent()
Get battery level in integer value
-
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
-
-
-
-