How would that app be different from the popup? Both inform you that the laptop is about to run out of battery and that you should plug it in. It's your problem if you ignore it.
It will block you from doing anything else until you plug the laptop in, with a full screen overlay that doesn't dismiss until the laptop is plugged in.