RetroArch/frontend
CTCaer 86f8670d0b plat: unix: get better battery stats on sysfs nodes
This addresses 2 issues:

1. Input controllers report battery supplies.
   That causes wrong charging status or capacities if they report percentages instead of levels.
   Such supplies normally report scope attributes that report Unknown or Device type of power supply.
   If reported value is System or the attribute is missing, it's considered a System supply and used.

2. Various systems have backup batteries.
   That causes the wrong capacity to be reported depending on order of node creation.
   This is addressed by keeping track of these and calculating an average.
2021-05-31 18:36:49 +03:00
..
drivers plat: unix: get better battery stats on sysfs nodes 2021-05-31 18:36:49 +03:00
frontend_driver.c Add some PSL1GHT ifdefs 2021-03-06 17:35:31 +01:00
frontend_driver.h (Metal) Fix some build problems 2021-01-19 04:38:07 +01:00
frontend_salamander.c Jdgleaver improvements 2020-11-20 03:55:55 +01:00
frontend.h Clean up trailing whitespace 2017-12-12 00:24:18 -08:00