RetroArch/dingux
Jahed 592f69ec69
MIYOO: Support battery level (#13585)
Currently when using RGUI on MiyooCFW (on a Powkiddy V90), despite enabling "Show Battery Level", nothing is shown. This change fixes that by comparing the correct voltage_now file.

There are no min/max files on the device so they're hardcoded similar to GMenu2X's indicator. Results are based on value distribution while running a game at max load.

GMenu2X battery level logic:
7d51f8c22b/src/gmenu2x.cpp (L2587-L2598)

Miyoo battery properties:
f60025f034/drivers/power/supply/miyoo-battery.c (L62-L72)

RGUI battery level update:
https://www.libretro.com/index.php/retroarch-1-7-7-ui-updates/
2022-02-01 10:30:11 +01:00
..
dingux_utils.c MIYOO: Support battery level (#13585) 2022-02-01 10:30:11 +01:00
dingux_utils.h (RS-90) Move appdata (retroarch) base directory to external microsd card 2021-07-15 16:56:23 +01:00