Just to let you know that we’ve been experimenting with this feature. Found some interesting results,
- Not all devices report battery levels, sometimes never (e.g. some sensors only report 100% and 0%)
- Battery reporting is very device handler dependent, e.g. with some stock Device handlers they doesn’t specify the attribute isStateChanged: true, so when the device reports the same battery level ST internally doesn’t report it to the SmartApp as the value hasn’t changed. E.g. a sensor who’s battery level is 100% for 15 days in a row even though the device handler will “report” the battery as 100% every 6 hours, ST won’t report it to the SmartApp since the value hasn’t changed and the device handler didn’t specify isStateChanged: true.
So all in while it’s a good idea, it can very misleading and lead to many false positives because it depends on how the DH was written and how the device itself works.