Planet Computers's Gemini Developers Forum
Lid Switch Behavior - can it be changed? - Printable Version

+- Planet Computers's Gemini Developers Forum (https://developer.planetcom.co.uk)
+-- Forum: Gemini (https://developer.planetcom.co.uk/forumdisplay.php?fid=1)
+--- Forum: Android on Gemini (https://developer.planetcom.co.uk/forumdisplay.php?fid=3)
+--- Thread: Lid Switch Behavior - can it be changed? (/showthread.php?tid=29)



Lid Switch Behavior - can it be changed? - Grench - 05-14-2018

This stems from me wanting to be able to do something that should be quite simple.

I want to play and control playback of audio over a wired headset while the Gemini is shut and in my pocket. The audio playback question itself is working. This one is specific to the lid switch behavior. Audio player information here is given on background to detail why I want the lid switch behavior to be different.

I have an earbuds headset with Android compatible in-line three button remote. The remote allows me to:
Top button = volume up
Middle button 1X = play or pause toggle
Middle button 2X = next track
Middle button 3X = previous track
Bottom button = volume down

On the Gemini, the remote functions work fine as long as the lid is open and Google Assistant is FULLY turned off. Normal operations with the audio program open = perfect. 'locked' at the lock screen with audio controls = perfect.

Close the Gemini lid, though, and the audio continues, but the controls fail.

When the Gemini lid closes, what state does the unit place itself in? This isn't the same as most Android phones screen-off state. It is something else - but what to call this? Tupor?

Where is the Gemini lid close behavior monitored and maintained in the software stack?  Keyboard driver or other?

Is there a hidden menu somewhere that allows the user to override it's default settings?  Turning the screen off is fine, but it appears to be going past that point.