ITADN

Add user options to disable battery and certain connected messages

#23Pull Requestseang96 创建于 2024-06-19
S
seang96commented
This is an attempt of supporting issue #17. I wanted to make the changes not break existing configurations. and the options to be toggled per user, so I added to "Connection Management" section of commands the following commands: 1. toggle-battery-notifications - Silence Battery statuses. 2. toggle-verbose-notifications - Silence Connected statuses when session changes and no data received recently. The battery one toggles both "Phone battery restored" and "Your phone's battery is low" for the user. The goal of toggle-verbose-notifications is to silence updates when everything is working as expected. If the status "Connected to Google Messages" is due to a disconnection longer for 5 minutes for example it will still show, but it will hide it when a session changes or when there is simply no activity.
合并状态:未合并 0 条评论