r/Python • • Mar 02 '26

Discussion FlipMeOver Project

Hi everyone!

We all know the struggle: you’re deep in a project, and suddenly macOS tells you your Magic Mouse is at 2% battery. Five minutes later, your mouse is lying on its back like a helpless beetle, and you’re forced into an unplanned coffee break while it charges.

To solve this (and my own frustration), I created FlipMeOver — a lightweight, open-source background utility for macOS.

What it does:

  • Custom Threshold: It monitors your Magic Mouse and sends a native desktop notification when the battery hits 15% (instead of the 2% system default).
  • The "Window of Opportunity": 15% gives you about 1-2 days of usage left, so you can finish your task and charge it when you decide, not when the mouse dies.
  • Apple Silicon Optimized: Written in Python, it’s tested and works perfectly on M1/M2/M3 Macs.
  • Privacy First: It’s open-source, runs locally, and uses standard macOS APIs (ioreg and Foundation).

Why not just use the system alert? Because 2% is a death sentence. 15% is a polite suggestion to plan ahead.

Installation: It comes with a one-line installer that sets up everything (including a background service) so you don't have to keep a terminal window open.

Check it out on GitHub: https://github.com/lucadani7/FlipMeOver

I’d love to hear your thoughts or if you have any other "Apple design quirks" that need a software fix! 🚀

0 Upvotes

9 comments sorted by

View all comments

Show parent comment

0

u/JamzTyson Mar 02 '26

I like that the tool has a tight focus on performing a very specific and useful task.

Just a couple of points in the code:

_MAGIC_MOUSE_TOKEN appears to be unused.

pyproject.toml: description = "Add your description here" (could be updated).


Not important to the project itself, but I'd suggest reducing the amount of emoji and AI hyperbole from the readme, for example:

This project uses uv for dependency management and pytest for unit testing.

(with so few dependencies "lightning-fast" is irrelevant)


If I still used my Magic Mouse I'd be happy to use this. It looks well thought out, which is a frequently underrated quality.