dubrowgn / wattz

An Android battery power status bar indicator
MIT License
187 stars 9 forks source link

[RFE] hide on charging / not charging #18

Closed t184256 closed 1 year ago

t184256 commented 1 year ago

I'm only interested in charging current and want to save notification space otherwise. I'd appreciate an option for hiding the icon on not charging or charging.

dubrowgn commented 1 year ago

Thanks for the feedback! I really want to keep wattz as simple as possible, so unfortunately this isn't a feature I'm interested in implementing at the moment. It would actually require a significant architecture shift as well, since a notification icon is required by android for all long running services that are running.

t184256 commented 1 year ago

Thanks for the feedback! I really want to keep wattz as simple as possible, so unfortunately this isn't a feature I'm interested in implementing at the moment.

No worries! It's your project, steer it the way you want.

It would actually require a significant architecture shift as well, since a notification icon is required by android for all long running services that are running.

Yeah, right. If you were to implement it, you'd instead have to show two different kinds of notifications, one for charging and one for not charging, and then let the user hide them through Android notification configuration UI.