Determine if power/usb cable is plugged in Android device
24535
Check if device is plugged in
6978
How to detect using c# if a pendrive is plugged into a USB port?
13968
How to disable auto power off of usb devices like usb mouse?
1850
Should I disconnect my MacBook Pro's power cord when the battery is fully charged?
149633
Set specific USB ports to charge-only
72609
Testing a UPS by unplugging it from the wall
62696
How To check Windows device is rooted/jailbrake or not programatically?
144757
How to detect whether a user is using USB tethering?
80529
How does the phone detect if 3.5 mm jack circuit is closed?
89699
How do I see if Wi-Fi is connected on Android?
101147
Leaving laptop plugged in all the time
133840
How do I check where devices are mounted?
149436
How to restrict/cut power output to a USB client?
68266
How to stop an android device from being charged programmatically?
143111
How can I get the Ubuntu shell on Windows 10 to recognize a connected android device?
45355
Check Bluetooth headphones battery status in Linux
137523
Detect if Android device has Internet connection