RazerGenie icon indicating copy to clipboard operation
RazerGenie copied to clipboard

FR: display battery level

Open Zahrun opened this issue 2 years ago • 5 comments

Would like to be able to see the battery level for my Viper V2 Pro in RazerGenie.

Zahrun avatar Nov 03 '23 15:11 Zahrun

Definitely planned! If you have an idea (or a mockup) how you would imagine the battery % to be displayed in the UI, please feel free to tell me. I'm having a hard time figuring out a UI that works for that ;)

z3ntu avatar Nov 04 '23 07:11 z3ntu

  1. I think it would be nice to have the battery level for each device on the left-side panel with all the devices (9%) so that we can see all battery levels in one glance. The battery level could be put under the name of the device, or the name of the device could go above the icon and the battery status goes under the icon. It is also fine to not have that, if you don’t want to clutter the device list.
  2. I think in the top-right corner of the device page, there is a blank space that can be used to show the battery level (42%)
  3. In the list of the options, we could also have a section with information about the battery, which could have a more visual indicator of battery level and whatever information we want to display about the battery (79%)
  4. At the bottom, above the serial number could also be a line for the battery status, but maybe the point of these small lines are to show less dynamic information (27%) mockup

Zahrun avatar Nov 04 '23 08:11 Zahrun

  1. It is also fine to not have that, if you don’t want to clutter the device list.

That would be a shame to not have...

PS: AT moment i'm using https://github.com/HoroTW/RazerBatteryTray to have battery info in the tray :wink:

TriMoon avatar Nov 17 '23 08:11 TriMoon

Kind of related, let me know if I should open a different ticket for it:

Could we have a different lighting state for devices that can be either plugged / on battery?

I have a wireless Razer Viper Ultimate. On Windows, the Razer Synapse software allows choosing a different lights animation for when the device is charging, and both plugged/battery settings are different by default. So that you know very easily whether your device is charging or not with no delay, unlike the software's display that can take a few more seconds to update and requires extra steps to open in the first place.

Lauloque avatar Feb 27 '24 15:02 Lauloque

Could we have a different lighting state for devices that can be either plugged / on battery?

I'm not aware of this being a hardware feature, so that would require user space to be polling the device for charging status and applying a new effect when it detects that it's charging / not charging. Not sure where this would fit into the stack - for now you can write your own (e.g. Python) script that does essentially what I described, so poll charging status and set the effects you want when it's either charging or not charging.

z3ntu avatar Mar 03 '24 09:03 z3ntu

Got something now for battery percent & charging status, not particularly pretty but it does the job :)

image

It's currently not refreshing automatically yet, so probably needs to re-open the app to update the percentage, I've got it planned to refresh the values on a timer. -> #167

z3ntu avatar Apr 28 '24 19:04 z3ntu

Great, thank you

Zahrun avatar Apr 29 '24 01:04 Zahrun