I am using an EasyCAP Adapter via a LAVA SimulCharge adapter on a Samsung Galaxy Tab S2 to capture video from a car reverse camera.
This is working fine except, when the LAVA adapter loses the power from the car (when the car is turned off). the EasyCAP adapter's green light keeps blinking, (usually it's solid green when connected) and the 'USB adapter connected' notification appears and disappears continuously in notification bar, and the tablet refuses to go into sleep mode for about 4 minutes. (Pressing the power button makes the screen turn off and back on again immediately)
After 4 minutes, the EasyCAP light stops flashing and turns off, which lets the device go to sleep. The notification keeps firing, until the device is rebooted.
I think this is due to EasyCAP adapter trying to connect again which wakes up the device?
Is there a way to force the device to go to sleep?
Connecting the EasyCAP over a standard OTG cable works fine, but I need the tablet to charge simultaneously as well.
(switching the 'stay awake' option on and off in Developer Mode didn't help)
I noticed that if I set the lock-screen type to anything other than none (eg: swipe) and press the power button after power is disconnected, the adapter stops blinking and the device goes to sleep after screen timeout.
I have isolated the issue to the LAVA SimulCharge adapter. It seems like losing power at the other end causes this.. although disconnecting the wire for power at the adapter's end works fine. Would there be a physical sensor to detect if there's power?