Retroarch 1.8.5 battery message on the GNU/Linux console

Hi there!

I have just built 1.8.5 on both Raspberry Pi aarch64 and x86_64 Debian PC, and I am seeing this on the console when I enter the menu:

Failed to open /sys/class/power_supply/hidpp_battery_0/capacity: No such file or directory
Failed to open /sys/class/power_supply/hidpp_battery_0/capacity: No such file or directory
Failed to open /sys/class/power_supply/hidpp_battery_0/capacity: No such file or directory
...

Well, this is flooding the console and there is no battery on any of these systems so I am seeing the battery indicator always on zero charge. I have been trying to disable battery charge reading at both run time and build time, but there is no menu option to tell RA to stop trying accessing battery and there is no configure option to disable battery detection either. Is it possible to disable this feature on non-battery systems?