diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-09-05 11:52:20 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-09-05 13:18:13 +0200 |
commit | 6d78c4ab11d6d9ebcb9ca23823184f91ee998889 (patch) | |
tree | c8b66bea6e38d80066466e8dfa14d85152fbc18d | |
parent | 4be148688f94e5fcaf782909aa58ef00f5cce72f (diff) | |
download | upower-6d78c4ab11d6d9ebcb9ca23823184f91ee998889.tar.gz |
battery: Quiet debug message
This might end up spamming users. Best leave those messages to folks who
are interested in root-causing those problems.
-rw-r--r-- | src/up-device-battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/up-device-battery.c b/src/up-device-battery.c index 5874901..734b6a8 100644 --- a/src/up-device-battery.c +++ b/src/up-device-battery.c @@ -169,7 +169,7 @@ up_device_battery_estimate_power (UpDeviceBattery *self, UpBatteryValues *cur) /* This hopefully gives us sane values, but lets print a message if not. */ if (energy_rate < 0.1 || energy_rate > 300) { - g_message ("The estimated %scharge rate is %fW, which is not realistic", + g_debug ("The estimated %scharge rate is %fW, which is not realistic", cur->state == UP_DEVICE_STATE_DISCHARGING ? "dis" : "", energy_rate); energy_rate = 0; |