NiyaShy / XB1ControllerBatteryIndicator

A tray application that shows a battery indicator for an Xbox-ish controller and gives a notification when the battery level drops to (almost) empty.
GNU General Public License v2.0
710 stars 53 forks source link

Dissapear in tray after computer sleep or time #54

Closed peterek1983 closed 3 years ago

peterek1983 commented 3 years ago

I have a problem, XB1ControllerBatteryIndicator sometimes dissapear on tray. I can't right now exactly when this happen for 100% sure, but probably after computer sleep mode, and after that program process is shutdown by Windows 10.

How to run it to work everytime ?

NiyaShy commented 3 years ago

Hey, sounds like the typical behaviour of windows to move "unused" systray icons into the overflow menu that you can reach via the little white arrow next to the visible icons. You can easily stop that by manually dragging the icon to any position in the visible icons, that way it should always get displayed and not move into the overflow any more.

peterek1983 commented 3 years ago

Hey, no no this is not hidden, I have all systray icons option to be displayed in Win10. Looks like program process after computer sleep is turn off. I check now, after wake up computer, icon is in tray, and when I move cursor on it imediatlly disappear.

Edit: I tested now again, sleep computer two times, and after that it stay in tray and not dissapeard, but after while it will for sure, but I do not know now what cause kill it process, but for sure something kill it after time. Maybe I will try to enable Admin mode on exe file and then run it.

NiyaShy commented 3 years ago

Hm... Thanks for testing, if it just "vanishes" it sounds like the process gets killed or crashes. Have you checked your event log if there are any entries about a crash?

peterek1983 commented 3 years ago

Not yet, but thank you for hint, I must check this when will dissapear. btw. I use also reWASD program for controller which also have option to show battery status, maybe something here, one eat another :)

Edit: I checked system even log and I do not see anything from XB1ControllerBatteryIndicator, only some errors from Bonjour Service.

peterek1983 commented 3 years ago

For now good no more dissapers! I set on exe to run as Admin, maybe this helped, or maybe I run it before from shortcut, maybe something here cause problem.

NiyaShy commented 3 years ago

Great to hear that it stopped disappearing. Running it as admin shouldn't be necessary, but as long as it works that way...