05-30-2023, 07:08 AM
Well, that script will consume a lot of power over standard suspend which does not wake up periodically (but will not maintain XMPP or Matrix connections, let alone notify you of incoming messages). Keeping the network running consumes power, both for the CPU (that needs to wake up periodically) and for the networking itself. (I found the WiFi in particular to be very power-hungry.)