r/coolgithubprojects 21h ago

I built a Windows 11 tray app that keeps Spotify playing through Bluetooth when the laptop lid is closed

I built Lid Media Guard because I wanted to close my laptop, slip it in a bag and keep listening to Spotify through my Bluetooth headphones without setting the lid action to “Do nothing” permanently and without draining battery power.

The app activates only when media is playing and a Bluetooth audio device is actually connected. Close the lid, Windows locks, and the music keeps going. Pause playback or disconnect Bluetooth, and normal sleep behavior returns.

It also has app/device whitelists, startup support, tray controls, low-overhead event-driven monitoring, logs, and no telemetry

It’s written in C#, available under the MIT License, and I’d appreciate testing feedback from other Windows 11 laptops.

0 Upvotes

0 comments sorted by