{"id":20784583,"url":"https://github.com/xzeldon/razer-battery-report","last_synced_at":"2026-02-22T12:14:20.790Z","repository":{"id":255055580,"uuid":"848416602","full_name":"xzeldon/razer-battery-report","owner":"xzeldon","description":"Razer Mouse Battery Level Tray Indicator","archived":false,"fork":false,"pushed_at":"2025-02-14T13:57:21.000Z","size":385,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T00:23:22.929Z","etag":null,"topics":["battery","razer","synapse","tray"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xzeldon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-08-27T18:08:41.000Z","updated_at":"2025-07-18T15:05:19.000Z","dependencies_parsed_at":"2024-08-27T19:41:28.398Z","dependency_job_id":"3eb55e53-1a19-4a26-914d-8a30a251efce","html_url":"https://github.com/xzeldon/razer-battery-report","commit_stats":null,"previous_names":["xzeldon/razer-battery-report"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/xzeldon/razer-battery-report","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzeldon%2Frazer-battery-report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzeldon%2Frazer-battery-report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzeldon%2Frazer-battery-report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzeldon%2Frazer-battery-report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xzeldon","download_url":"https://codeload.github.com/xzeldon/razer-battery-report/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xzeldon%2Frazer-battery-report/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013634,"owners_count":26085298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["battery","razer","synapse","tray"],"created_at":"2024-11-17T14:30:59.416Z","updated_at":"2026-02-22T12:14:20.778Z","avatar_url":"https://github.com/xzeldon.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003erazer-battery-report\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003eRazer Battery Level Tray Indicator\u003c/b\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"img/demo.png\"\u003e\n\u003c/p\u003e\n\nShow your wireless Razer devices battery levels in your system tray.\n\n\u003e Currently, this works only on **Windows**.\n\n## Supported devices\n- Razer DeathAdder V3 Pro\n- Razer DeathAdder V3 HyperSpeed\n- Razer DeathAdder V2 Pro\n\n\u003e **Note:** If your device is not listed, you can add support for it yourself! Please see the [Adding new devices yourself](#adding-new-devices-yourself) section below. Contributions and Pull Requests are welcome!\n\n## Usage\n\n### Installation\n\n\u003e **Note:** Since this project is currently in active development, there is no installer (`.msi` or setup `.exe`) yet. To set up the application permanently (Start Menu icon, Autostart), please follow the manual steps below.\n\n1. **Download** the latest `razer-battery-report.exe` from [Releases](https://github.com/xzeldon/razer-battery-report/releases/latest).\n\n2. **Move the executable** to a safe permanent location.\n   * *Recommended:* Create a folder at `C:\\Program Files\\Razer Battery Report\\` and move the `.exe` there.\n   * *Note:* This prevents accidental deletion from your Downloads folder.\n\n3. **Add to Startup** (Recommended):\n   * Right-click `razer-battery-report.exe` -\u003e **Create shortcut**.\n   * Press `Win + R`, type `shell:startup` and press Enter.\n   * Move the created shortcut into the opened folder.\n   * *Now the app will start automatically when you log in.*\n\n4. **Add to Start Menu** (Optional):\n   * Create another shortcut.\n   * Press `Win + R`, type `shell:programs` and press Enter.\n   * Move the shortcut into the opened folder.\n   * *Now you can search for \"Razer Battery Report\" in Windows Search.*\n\n\u003e **Tips:**\n\u003e - You can rename the shortcuts to simply **\"Razer Battery Report\"** (remove \".exe\" and \"Shortcut\").\n\u003e - **Custom Icon:**\n\u003e   1. Download [`mouse.ico`](https://github.com/xzeldon/razer-battery-report/raw/master/assets/mouse.ico) (save it in the same folder as the `.exe`).\n\u003e   2. Right-click the shortcut -\u003e **Properties** -\u003e **Change Icon...** -\u003e **Browse** -\u003e Select the downloaded `.ico` file.\n\n### Building from Source\n\nTo build, you must have [Rust](https://www.rust-lang.org/) and\n[Git](https://git-scm.com/) installed on your system.\n\n1. Clone this repository: `git clone https://github.com/xzeldon/razer-battery-report.git`\n2. Navigate into your local repository: `cd razer-battery-report`\n3. Build: `cargo build --release`\n4. Executable will be located at `target/release/razer-battery-report.exe`\n\n## Adding new devices yourself\n\n- add device with `name`, `pid`, `interface`, `usage_page`, `usage` to [devices.rs](/src/devices.rs)\n- add `transaction_id` to switch statement in `DeviceInfo` in [devices.rs](/src/devices.rs)\n\n\u003e You can grab `pid` and other data from the [openrazer](https://github.com/openrazer/openrazer/blob/352d13c416f42e572016c02fd10a52fc9848644a/driver/razermouse_driver.h#L9)\n\n## Todo\n\n- [x] Tray Applet\n  - [ ] Force update devices button in tray menu\n  - [x] Colored tray icons for different battery levels\n  - [x] Show log window button in tray menu\n  - [x] Further reduce CPU usage by using Event Loop Proxy events (more info [here](https://github.com/tauri-apps/tray-icon/issues/83#issuecomment-1697773065))\n- [x] Prebuilt Binary\n- [ ] Command Line Arguments for update frequency\n- [ ] Support for other Razer Devices (I only have DeathAdder V3 Pro, so I won't be able to test it with other devices)\n\n## Acknowledgments\n\n- Linux Drivers for Razer devices: https://github.com/openrazer/openrazer\n- This python script: https://github.com/spozer/razer-battery-checker\n- 🖱️ Logitech Battery Level Tray Indicator (Elem): https://github.com/Fuwn/elem\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxzeldon%2Frazer-battery-report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxzeldon%2Frazer-battery-report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxzeldon%2Frazer-battery-report/lists"}