Does anybody know how to detect when the phone is charging via wireless charger? Since i only have a wireless charger in my car, i want to detect when the phone is charging (only wireless!) and if it is, turn the bluetooth on. I know it is in BatteryManager - BatteryManager.BATTERY_PLUGGED_WIRELESS.
I had a look at PhoneEvents, and it has a boolean value for the charging/plugged-in status in the batterychanged event. It would be good if we could find out what is the source - AC, USB or wireless, i.e. get an integer value from the BatteryManager.
I had a look at PhoneEvents, and it has a boolean value for the charging/plugged-in status in the batterychanged event. It would be good if we could find out what is the source - AC, USB or wireless, i.e. get an integer value from the BatteryManager.
Last edited: