Add option to choose which battery status to get

Merged Johann Dreo requested to merge github/fork/todorowww/master into master

Created by: todorowww

In an instance that ACPI reports multiple batteries, having an option to specify which one to use could be very useful.

For example, I am using Logitech Unifying Receiver, and it reports back battery information of my keyboard and mouse (wrong information I might add, as can be seen on the screenshot) acpi-battery

In this case, those two come before my actual laptop battery (Battery 2), and because of this, I always get the 0% state.

I have added the option LP_BATTERY_ID, with the default of 0, so that users can specify which battery they want to read.

Merge request reports