This allows checking from shell scripts whether the system is in a low battery state. It just exposed the code we anyway have in a directly accessible way. This is also very useful for testing things.
It is now a supported executable, so add manpage. Fixes https://github.com/systemd/systemd/issues/26289