"Does battery limit attribute exist?" spams the log every 5 seconds #142

Closed
opened 2024-02-11 01:10:49 +00:00 by stanto · 1 comment

Expected Behaviour

I do not expect this to be in the log as it is not particularly useful, I especially do not expect this to appear every 5 seconds in the log.

Actual Behaviour

01:04:05 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:04:10 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:04:15 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:04:20 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:04:25 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:04:30 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:04:35 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:04:40 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:04:45 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:04:50 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:04:55 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:05:00 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:05:05 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:05:10 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:05:15 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:05:20 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:05:25 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:05:30 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:05:35 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:05:40 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:05:45 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:05:50 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:05:55 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:06:00 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:06:05 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:06:10 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:06:15 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:06:20 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:06:25 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:06:30 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:06:35 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:06:40 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:06:45 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:06:50 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:06:55 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:07:00 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:07:05 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:07:10 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:07:15 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:07:20 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:07:25 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:07:30 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:07:35 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:07:40 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:07:45 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:07:50 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:07:55 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:08:00 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:08:05 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:08:10 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:08:15 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true
01:08:20 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true

appears in /tmp/powertools.log every five seconds, non stop.

Steps To Reproduce

  1. Install powertools
  2. Watch it create a log file
  3. tail-f /temp/powertools.log
  4. Watch it add a line every 5 seconds

Anything else?

On your report a bug form it says "Platform" but under it says "What driver is PowerTools using?", these are not the same thing.

Version

1.4.0-1

Platform

SteamDeck OLED

OS

SteamOS 3 (Stable)

### Expected Behaviour I do not expect this to be in the log as it is not particularly useful, I especially do not expect this to appear every 5 seconds in the log. ### Actual Behaviour > 01:04:05 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:04:10 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:04:15 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:04:20 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:04:25 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:04:30 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:04:35 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:04:40 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:04:45 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:04:50 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:04:55 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:05:00 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:05:05 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:05:10 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:05:15 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:05:20 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:05:25 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:05:30 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:05:35 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:05:40 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:05:45 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:05:50 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:05:55 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:06:00 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:06:05 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:06:10 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:06:15 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:06:20 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:06:25 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:06:30 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:06:35 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:06:40 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:06:45 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:06:50 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:06:55 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:07:00 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:07:05 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:07:10 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:07:15 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:07:20 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:07:25 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:07:30 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:07:35 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:07:40 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:07:45 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:07:50 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:07:55 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:08:00 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:08:05 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:08:10 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:08:15 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true 01:08:20 [INFO] Does battery limit attribute (max_battery_charge_level) exist? true appears in /tmp/powertools.log every five seconds, non stop. ### Steps To Reproduce 1. Install powertools 2. Watch it create a log file 3. tail-f /temp/powertools.log 4. Watch it add a line every 5 seconds ### Anything else? On your report a bug form it says "Platform" but under it says "What driver is PowerTools using?", these are not the same thing. ### Version 1.4.0-1 ### Platform SteamDeck OLED ### OS SteamOS 3 (Stable)
stanto added the
bug
label 2024-02-11 01:10:49 +00:00
Owner

This is already fixed on the dev branch. Partly because the legacy way of controlling the charge level (by setting battery charge mode) is removed, and partly because that specific message has been demoted to debug level.

This is already fixed on the dev branch. Partly because the legacy way of controlling the charge level (by setting battery charge mode) is removed, and partly because that specific message has been demoted to debug level.
NGnius added the
tbr
label 2024-02-11 02:09:46 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: NG-SD-Plugins/PowerTools#142
No description provided.