We are methodical about setting an anchor alarm. Tried and true and has never let us down.
Although we have 1300 amp hours of battery, I prefer to leave it for the TV and starlink. :)
That said, if someone comes in and anchors close to use, Usually my mean mug from standing in the cockpit...