msyncd: don't query battery state until it's factually needed

this avoids waking up unnecessarily whenever a battery notification is recieved.