LAVA OTG adapter keeps android tablet from sleeping 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)

UPDATE

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.

UPDATE 2

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?
The LAVA SimulCharge has a chip in it that detects if charge power is being supplied.  If no charge power is being supplied it turns into a regular OTG connection.  When it does this, it draws power from the tablet to power your accessories.

From what I've looked at so far, I haven't found a way to make the OTG 5V power from the tablet turn off when the tablet goes into sleep mode. When the tablet goes to sleep, it seems to still be providing the OTG power.

My tablet will go to sleep, but drains the battery from the OTG connection.