Pedal-Intelligence / saypi-userscript

An independent voice interface for Inflection AI's conversational assistant, Pi
https://www.saypi.ai/
Other
15 stars 3 forks source link

Prevent Screen Lock on Mobile Devices #53

Closed rosscado closed 6 months ago

rosscado commented 6 months ago

Users of the "Say, Pi" application on mobile devices (specifically Android) have reported that the application stops responding when the device's screen locks or goes dark. This issue interrupts continuous voice interaction, which is a core feature of our application. The goal of this enhancement is to find a solution that keeps the screen awake during active voice interaction sessions, specifically targeting Chrome-like browsers for now.

Expected Behavior

The application should prevent the device's screen from locking while the user is actively interacting with "Say, Pi". This will ensure uninterrupted voice interaction, enhancing the overall user experience.

Current Workarounds

Proposed Solution

Investigate and implement a more robust solution that can keep the screen awake during active usage of "Say, Pi". In particular, a web API-based solution (like the Wake Lock API) is a good starting point, especially while a native app approach is out of reach without a public api.

Additional Context

This enhancement request is based on user feedback, specifically highlighting the need for a seamless, hands-free experience. Addressing this issue will significantly improve the usability of "Say, Pi" for our mobile users.

Next Steps

rosscado commented 6 months ago

It seems there are really two key requirements that mobile users need met:

rosscado commented 6 months ago

Resolved by 60248d94fd343c90e435bee56906953f6b95ea6e