Skip to content

Wake-time optimization #9

Description

@jimrandomh

When the G2 screen is off, after a 5s delay, Faceclaw ends the EvenHub session. This allows the firmware to power off the projectors (rather than just set the pixels to all-black) and put other components into power-saving modes. We keep the bluetooth connection open and maintain a "wake-lease"; that is, the phone sends a message periodically to let the glasses know it's still there. When the wake-lease is held, double-tapping the ring notifies the phone instead of showing the default dashboard, and the wakeword ("Hey Even") notifies the phone instead of activating the default listener path.

This wake-up path is noticeably slower than the stock wake-to-dashboard, and responsiveness is somewhat important here. Currently it involves a bunch of avoidable bluetooth round trips, drawing a full frame on the phone, and sending that frame from scratch, so there's a lot of room for optimization here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions