Open alphonsez1 opened 2 years ago
I find the plugin is showing above 200 Wh in my handheld. The battery is only 28Wh.
It turns out it's caused by the 7.7 factor https://github.com/ShadowBlip/HandyPT/blob/main/src/components/Battery.tsx#L23
I guess this is useful for some other device types. Is the device name available in the context? I'm considering put an override per device type.
Interesting. I'll take a look at it. This may be entirely unnecessary actually. It's a bit of code pulled from the original project for the steam deck that I now realize I've never verified.
I find the plugin is showing above 200 Wh in my handheld. The battery is only 28Wh.
It turns out it's caused by the 7.7 factor https://github.com/ShadowBlip/HandyPT/blob/main/src/components/Battery.tsx#L23
I guess this is useful for some other device types. Is the device name available in the context? I'm considering put an override per device type.