Allow to easily pause logging

未关闭
#385 4 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@TimeToBuildBob 已经在做这个了。

开始于 2026年11月4日。

  • #387 来自 @TimeToBuildBob —— 未关闭

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
android, kotlin
领域
mobile

调研方向

The issue describes two separate pause behaviors: stopping data collection through accessibility and notification access, and preventing Android usage data from being imported for paused periods. Start by reviewing the open pull request #387 and the Android watcher entry points for those data sources. Done means defining and implementing pause behavior for both sources, including whether usage data collected during a pause is backfilled.

由索引模型根据 Issue 内容生成。

描述

There does not currently seem to be a way to pause logging. On desktop, I can either disable individual watchers or even stop the entire server to prevent any data collection. With the Android app, it seems like I can, at best, manually disable the specific Android permissions:

  • the accessibility service to prevent aw-watcher-android-web from collecting data
  • the notifications access to prevent aw-watcher-android-media from collecting data

I know I can also disable the usage data access for aw-watcher-android and aw-watcher-android-unlock but I'm actually not sure that helps with anything because once I re-enable, it probably will just backfill anything missing (since Android continues to collect usage data afaik).

I suppose this is really 2 separate feature requests - one for allowing to pause logging of stuff that is collected by AW directly (through accessibility service and notifications access) and another that prevents usage data from getting imported from any time period when the logging was paused.

主要语言
Kotlin
星标
287
派生
65
平均合并
4 天 14 小时
30 天内合并 PR
6

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ActivityWatch/aw-android 的其他 Issue

查看 ActivityWatch/aw-android 的全部 Issue

相似的 Issue

更多 Kotlin Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。