eo/battery-meter-view

Unknown Battery Meter State from XML

seljabali opened this issue ยท 2 comments

Hello EO,

Thanks for the project, it looks great! ๐Ÿ˜ƒ

I was wondering if there's a way to set the battery mode to unknown from the XML? If not, I would suggest it be done by having an attribute along the lines of:

app:batteryMeterState="{unknown, charging, regular, critical}"

Thanks!

eo commented

Hi @seljabali,

If you do not provide batteryMeterChargeLevel and batteryMeterIsCharging attributes in your XML, battery state should be unknown. Let me know if that works?

Thanks

Will do for now! Thanks EO.