-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple Battery Support #8
Comments
I'm on a Surface Pro & have never owned a laptop with more than one battery, so I'll need your knowledge to help. In your native battery manager, how is the battery status displayed (e.g. are there two battery icons, or does the power meter show the combination of the two batteries' total charge remaining)? |
If there is some test program you want me to run, I would be more than willing. Something to check the battery API and send you debug logs. |
It would help me if you can post the output to the following PowerShell script:
|
Make sure you remove any personal info before posting (computer name etc) |
|
Great thanks! |
And what does your total battery percentage say right now? Want to see if I can replicate it using the data above. |
Nvm I think I can just do (batt1+batt2)/200 |
Please try release v1.0.1 and let me know if it works for you. |
As of right now, it does not. It crashes MSTSC.exe. I will try rebooting and test again. |
Also make sure that the old version of the RDS_Server_TrayApp_BattMon.exe isn't still running in your |
Renaming and rebooting the server machine too. |
Nope. It crashes even after both machines are rebooted. Any logs I can send? |
|
Ah -- looks like you beat me to it. Let me give you a debug build that might give more detail (like the line # it's crashing on). That log is only telling me that it's a NullReferenceException, but not where. |
Try these -- make sure you keep the .pdb files in the same folder; they will provide the line # debugging information. |
Even better -- this version has logging enabled on the client side. It should capture the exception you're getting with the stack trace. Again, please be sure to keep the .pdb file in the same folder as the DLL. |
Is the new information still in the event log?
|
|
Those were from 1.0.1 debug. loading 1.0.2 now |
1.0.1.2:
|
The referenced wer file. Hope this doesn't contain anything too bad. |
BTW: You're the best. Just thought the world should know that. |
Can you please try this version & see if the crash goes away? |
Well, it's a start... 😄 |
:) |
I rolled back to v1.0.0 on client and server, and it still functioned fine. It seems:
This will speed up debugging because I don't have to keep rebooting both machines. |
I use a Lenovo x240 and that entire series of laptop has two batteries.
The text was updated successfully, but these errors were encountered: