I run a "minimal" #Debian system based on #i3wm, but I'd like my laptop to suspend or shutdown when the battery power gets too low, to avoid running the battery right to zero. What is a reasonable to do this? #upower seems like it might be part of the answer, but it seems like it is mainly glue to provide non-root users the ability to suspend etc...