atagulalan / arctis-battery-percentage

🔋 Shows SteelSeries Arctis wireless device's battery percentages as a notification.
MIT License
70 stars 16 forks source link

Notification awesomeness #6

Open k1ck3r opened 4 years ago

k1ck3r commented 4 years ago

Hey,

i might say, quite a good job with this! one thing i though might be useful - a taskbar icon, e.g just like cpu/gpu temperature. I hope it's not hard to implement, some other people could find it useful as well ;)

centic9 commented 4 years ago

The project https://github.com/centic9/headset-charge-indicator/ does something like this.

atagulalan commented 4 years ago

Hello @k1ck3r and @centic9,

Thank you for your interest in this project!

I made you wait for a while, but I think I figured it out. Since this project was made in JavaScript, it was unable to access the Windows APIs to create system tray icon. Every solution I found suggested using NW.js or Electron, which might be good if the package size was smaller. I had to write that in a different language. So, I created a small script for this. It relies on ancient technology, JScript.

You can check out new Tray Icon version here

You can use this, but i must warn you: It is not perfect. To use this, clone the branch to your computer. After you run npm install, just double click on systemTray.bat. It will compile the code and run it in the background. It looks for the device every 2 minutes.

Screenshot: SABP

There is no close button and it probably has memory leak. I do not know JScript or VBScript, so any help would be appreciated.

Thank you.

k1ck3r commented 4 years ago

really appreciate your effort! will keep you updated if i face any issue or memory leaks as you mentioned.

k1ck3r commented 4 years ago

hey mate, it's me again ;) Since last update of SteelSeries Software Package the awesomeness went down :/ the issue goes like this - start the trayicon - it shows for example 43. This doesn't change through any circumstances.

tried different approaches (eg connect/disconnect) it's just doesn't update.