Forum Replies Created
I looked over the battery class info (https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-battery) and nothing seems to apply for a situation(at least as far as DI is concerned) where you have 2 batteries and only one is in use, generally how it should be. When this is the case battery status for one battery is empty/null and DI does not have a provision for that. It sees that the battery is indeed there but does not know it’s status. Has anyone come across this and figured out a way to address it?
Turns out that when I undock my Surface from the keyboard and only have 1 (ONE) battery DI displays as it should. I attached the outputs from wmic when I manually check battery info. DI just does not like multiple batteries, at least not the way Microsoft has done it in the Surface Book line. 🙁
So I have installed it on WIN 10 20H2 and I have a question on the battery config in the ini.
# battery status lookup table
I never see it change to Fully Charged or Disconnected
when on AC power it says connected but when I undock it the display changes to %battery<null>%. I also now noticed it in v 2.10.2
Did I miss something in my ini file? I attached a pic of what it does when running on battery as well as a copy of my ini.
Thanks for all your work and any guidance.
- This reply was modified 1 year, 1 month ago by rtruss. Reason: renamed the ini to txt so it would upload
Looking forward to it Glenn! Keep up the great work.2 March, 2021 at 12:26 am in reply to: WMI query with multiple sets causes stack overflow #3820
I was able to get this to work, i am not in a workgroup but it still worked with domain in its place
WMI=hidden:0,interval:0,namespace:root\cimv2,query:Win32_ComputerSystem,Row-text:FullUser| DOMAIN| Model,display:%UserName%| %DOMAIN%| %Model%
Workgroup and Model are already ‘known’ to dti i believe so a set would not be needed for those.
hope that helps.
There is a way, yes. Here is what I have in mine.
#navigation button settings
# 0=disabled, 1=visible at the bottom of the display (default), 2=visible at the top of the display, below the logo
# -1=align left, 0=align center (default), 1=align right
# navigation buttons color (bgr)
I am having the same thing and as such I am reluctant to roll this out to over 10k users. I will try that as well, thanks for the tip. 🙂
NOW, I do have this in the ini file:
# how often, in seconds, to check ini file for changes
how will ignore-setting-change=1 affect that, if at all.
Also what does ignore-setting-change=1 actually ignore? just a curios geek mind. 😉 I did not see it tin the docs.
I copied the text from your original reply.
LOGICALDRIVES=interval:10,diskio:1,chart:bar2 scale:linear max:100 series1:7 threshold:75,threshold1:11 10000000 0000f0,threshold2:13 10000000,threshold3:7 90 0070f0, 0060f0,row-text:Drive %1: (%2)| %3,display:%6[1.0B]B/%5[1.0B]B (%7[1.1f]% used)
These does not work:
LOGICALDRIVES=interval:10,diskio:1,chart:bar2 scale:linear max:100 series1:7 threshold:75,threshold1:11 10000000 0000f0,threshold2:13 10000000,threshold3:7 90 0070f0, 0060f0,text:Drive %1: (%2)| %3,display:%6[1.0B]B/%5[1.0B]B (%7[1.1f]% used) (it does not id each drive ‘name’ but does show the info i set for it)
Could it be an issue with my language file?
It’s not a big deal now that I figured out how to make items display the text i want. Thanks for the GREAT TOOL by the way, I know I forgot to mention that in my first post. Love this thing!
on a related note I have noticed that when i use ENVVAR=text:Logon Server,key:logonserver I get environment as the text: when i use ENVVAR=Row-text:Logon Server,key:logonserver I get my desired text of Logon Server.