libredefender icon indicating copy to clipboard operation
libredefender copied to clipboard

Add debugging output for battery information

Open tongpu opened this issue 3 years ago • 1 comments

Up to now we've been blind with regards to the information about batteries present in the system. This change should allow us to ask for debug output in case of problems.

tongpu avatar Sep 01 '22 21:09 tongpu

@kpcyrd Sorry, I force pushed over your commits. :grimacing: I would say your version looks good, so let's get rid of my changes again and release 0.6.0 with the skip_on_battery feature.

tongpu avatar Sep 03 '22 04:09 tongpu

Sorry for not following up after pushing, I've changed the error! to debug! because it's fine if the system doesn't have any batteries and I've reduced the number of times we need to loop over the batteries. Thanks for working on this! :)

kpcyrd avatar Sep 04 '22 10:09 kpcyrd