CURRENT VERSION : 1.1 || SEE BELOW!
AndroidTools : Some additional features
I thought, the other extensions are missing some features, so I tried to add them in my extension.
It is just a small extension!
WARNING : Some devices with lower version may not be compatible with the extension!
Check whether the device is locked/protected by any PIN, Password or pattern.
Returns : Boolean - true/false
Gets the exact RAM of the device in bytes.
Returns : numbers
Gets the battery info, triggers GotBatteryInfo event block.
Returns : nothing
Triggered when got battery info.
chargingType : returns numbers, 1 equals USB charging, 1 equals AC/Normal charging & 0 equals failed to recognize or phone is not plugged in.
timeLeft : tries to calculate the charging time left for the device approximately, -1 equals failed/not enough data to calculate. (Notice : requires at least API 28, stating from Android 9!)
Hope you liked my new extension!