Commit 0c843a6
committed
HealthStatsSync: write per-weekday typical-step blobs to BlobDB
Wires computeAllWeekdayTypicalSteps into updateHealthStatsInDatabase
so monday_steps..sunday_steps rows land in BlobDatabase.HealthStats
alongside the existing *_movementData / *_sleepData rows. The
@GenerateRoomEntity infrastructure on HealthStat pushes them to the
watch on next sync.
This fixes the missing percentage in the end-of-day activity summary
notification on PebbleOS watches (firmware activity_insights.c
prv_calc_percent_tier returns OnAverage when the typical sums to 0,
and the corresponding copy variants have no "%d%%" placeholder).1 parent 34376a9 commit 0c843a6
1 file changed
Lines changed: 30 additions & 0 deletions
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
120 | 129 | | |
121 | 130 | | |
122 | 131 | | |
| |||
231 | 240 | | |
232 | 241 | | |
233 | 242 | | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
234 | 264 | | |
235 | 265 | | |
236 | 266 | | |
| |||
0 commit comments