plugins-workspace icon indicating copy to clipboard operation
plugins-workspace copied to clipboard

[feat] Power Monitor api or plugin like in electron

Open tauri-bot opened this issue 1 year ago • 2 comments

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.

tauri-bot avatar Feb 24 '24 13:02 tauri-bot

potential starting point, a windows implementation from a community member: https://github.com/Ciantic/winvd-monitoring/blob/main/src/powerevents.rs

FabianLars avatar Feb 24 '24 13:02 FabianLars

any progress?

hengkx avatar Jul 16 '24 15:07 hengkx