Skip to answer

Why does a smart-glasses app stop when I lock my phone?

The operating system may restrict background work, or the app may not maintain the required connection and state outside the foreground. Locking can expose an implementation issue that does not appear while the app is open.

Find the stage that stops

Separate connection loss from a failed service request or a result that never reaches the display. Android documents background Bluetooth approaches; iOS has its own background and restoration rules. These mechanisms do not make every app run continuously by default.

Compare an immediate request after locking with another after inactivity. Note whether the phone still sees the device, whether a local action works and whether only an online operation fails. That short sequence gives a developer more useful information than a report that the glasses stop working in a pocket.

Sources

Sources checked September 13, 2026. How we research these answers ↗

Back to the topic and practical exercise ↗