Isac Active Member Licensed User Longtime User Dec 19, 2016 #1 hi I would like to detect the input voltage of usb, 0-5 V some library?
eurojam Well-Known Member Licensed User Longtime User Dec 19, 2016 #2 I don't think, there is a library for that, but you can try to use intents with phoneevents to solve this: see this post as a starting point: https://www.b4x.com/android/forum/threads/phoneevent-batterychanged-event-problem.62213/ and https://developer.android.com/reference/android/content/Intent.html#ACTION_BATTERY_CHANGED Upvote 0
I don't think, there is a library for that, but you can try to use intents with phoneevents to solve this: see this post as a starting point: https://www.b4x.com/android/forum/threads/phoneevent-batterychanged-event-problem.62213/ and https://developer.android.com/reference/android/content/Intent.html#ACTION_BATTERY_CHANGED