]> git.ipfire.org Git - thirdparty/systemd.git/commit
battery-util: don't log duplicate message
authorMike Yuan <me@yhndnzj.com>
Wed, 9 Aug 2023 16:13:42 +0000 (00:13 +0800)
committerMike Yuan <me@yhndnzj.com>
Sun, 13 Aug 2023 05:02:57 +0000 (13:02 +0800)
commit60d83c3e866ab32f7e753fe8f1db9f2fb295bf4f
treece79c195641f6dfd9f9773012375888b0a1a07a5
parentf7590e3cb4f898cc71422f99678c65b1233c42b1
battery-util: don't log duplicate message

Follow-up for 02f7f8aa4f1d0b7a24ee3cd5685a791771d9ded5

Addresses https://github.com/systemd/systemd/pull/28597#discussion_r1288591215

> this is pretty unnecessary, battery_read_capacity_percentage()
debug logs on its own about this already, in more detailed way?
src/shared/battery-util.c