Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 自动任务监控电量-重复发送bark通知 #458

Closed
ixieyu opened this issue Apr 28, 2024 · 2 comments
Closed

[Bug]: 自动任务监控电量-重复发送bark通知 #458

ixieyu opened this issue Apr 28, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ixieyu
Copy link

ixieyu commented Apr 28, 2024

是否有人曾提过类似的问题

否(No)

升级到最新的版本是否存在这个问题

否(No)

是否已经查阅Wiki文档还未能解决的

是(Yes)

APP版本

v3.3.1.240427

问题描述

自动任务监控电池状态时,当插入充电器后重复发送4条bark通知;当拔掉充电器后重复发送两条bark通知

复现步骤

反复插拔充电器。

是否必现

是(Yes)

出现问题的手机信息

小米8

出现问题的安卓版本、系统版本

MIUI12

提供截图或视频

photo_2024-04-28_21-40-43

log_2024-04-28 (3).txt

提供报错堆栈【请提供logcat抓取的日志,参考: https://blog.csdn.net/m0_64776928/article/details/126005119

No response

提供解决方案

No response

@pppscn
Copy link
Owner

pppscn commented Apr 29, 2024

覆盖安装 每周构建版 试试,这样修改只能保证inputData一样时只会调用一次BatteryWorker

升级操作提示:

@pppscn
Copy link
Owner

pppscn commented Apr 29, 2024

但是插上充电时,如果充电器设置的是不限,由于此时系统会推送两次广播(充电器改变),这个除非你指定充电器

微信截图_20240429115529

@ixieyu ixieyu closed this as completed Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants