plugins-workspace
plugins-workspace copied to clipboard
[feat] Power Monitor api or plugin like in electron
This issue has been upstreamed from https://github.com/tauri-apps/tauri/issues/8968
Describe the problem
There's currently no power monitor api or plugin for tauri
Describe the solution you'd like
It would be nice if a power monitor api/plugin could be implemented like in electron: https://www.electronjs.org/docs/latest/api/power-monitor/
Alternatives considered
No response
Additional context
There were talks of a possible plugin on discord but that has not materialized yet.
potential starting point, a windows implementation from a community member: https://github.com/Ciantic/winvd-monitoring/blob/main/src/powerevents.rs
any progress?