Mystro256/Gnome-Presentation-Mode — comment on commit e39a105191e793e6f8f047f88a24dd5d67b19452
File: presentationmode@ampad.de/extension.js line 38
By Mystro256:

This seems like a solid implementation, though it a way of actually checking if the menu is visible or not would be better. This seems to work though because generally the menu on gnome-shell is only shown if a power device exists.