Poll discharge rate more frequently
It would be great if the displayed discharge rate would get updated more often, like every 5 seconds (maybe only if the popup is displayed) Similar to as it is done in RMClock which refreshes the discharge rate more often and thus is more valuable to determine a power consuming or malfunction device.
I’m not sure how RMclock polls the battery. I use the standard Windows APIs to request the battery status from the battery driver every 5 seconds. The frequency of data updates is completely determined by the battery and the BIOS.
My Dell reports status changes every 15 seconds. Some netbooks only report status changes when 1% of the battery has discharged. Some don’t even report basic information like discharge rate.
Polling the battery status more frequently than 5 seconds won’t fix any of these issues.
6 comments
-
BatteryBar polls the battery status every 5 seconds.
-
Frank
commented
sorry for the last sentence. The polling frequency is too low, the number of digits are enough. So I just want that Battery Bar refreshes the discharge rate a bit more often than only every 3 minutes or so.
-
Frank
commented
Sorry for the late reply. I compared the BatteryBar discharge rate with the discharge rate reported by the Windows Performance tool (don't know if that's the real name in Win 7 english, I use a german Win 7 version, there it's called "Leistungsüberwachung")
However, BatteryBar refreshes the discharge rate about every 3 minuts, the Performance tool and also RMClock show new values of the discharge rate every 5 seconds. (I poll it every second, but only every five seconds is a change visible)
I also made a video of it, you can find it here:
http://cid-e4ae2e9ef15db1c2.skydrive.live.com/self.aspx/battery%20bar/batterybarrefresh.wmvWith more accurate I've meant the polling frequency, the number of digits are ok, which is way too low in your program.
-
Maybe RMClock is using a different method of obtaining the data. What do you mean that it's more accurate? I get 5 significant digits (e.g., 20,357 mW).
-
Frank
commented
strange, because RMClock seems to update the discharge rate more frequently with more precise values than BatteryBar does. Now that I know, that the battery gets polled every 5 seconds I will take a closer look at it again, but still expect that it is more lazy than RMClock, which is kind of strange.
-
Battery polls the battery status every 5 seconds, but it's up to the battery to report the data. My Dell laptop only reports changes every 15 seconds. So, even if I poll the battery ever second, I won't see any changes for 15 seconds.