fix: UX feedback + BV ellipse outlier (#22) + README v3 update

- #1 배터리 최적화 페이지 이동 제거 (ForegroundService+WakeLock만)
- #2 Auto 첫 측정 대기 시 "Measuring... (n/5)" loading 표시
- #3 Placement 멘트 정리 — 방향만 남기기 (CH 언급 제거)
- #4 CH0~CH5 dot row 개발자 모드 전용
- #5 Spot 재시도 로직 (최대 6회, 유효 3개 목표, 300ms 간격)
- LR 좌우 조건 완화: ±8mm, symmetry≥0.5, lrDev≤0.35
- |len4-len5|≤10 → LATERAL 건너뛰고 바로 GREEN
- GREEN 미달 시 CV만 간당간당하면 GREEN 유지 ("Almost there...")
- CV 기본 임계 0.08→0.12, 디바운스 3초→1.5초
- BV 타원 피팅 outlier 반복 제거 (appshare #22)
- README v3 업데이트 (3모드 placement, BV 파이프라인, 상태표)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-07 15:36:14 +09:00
parent 139ebcbbb1
commit b73921eb2b
5 changed files with 367 additions and 278 deletions
@@ -29,8 +29,8 @@ class BleForegroundService : Service() {
const val ACTION_STOP = "com.example.medilightv2android.BLE_STOP"
fun start(context: Context) {
// 배터리 최적화 제외 요청 (Doze 면제)
requestBatteryOptimizationExemption(context)
// 배터리 최적화 제외 요청 제거 — 다른 페이지로 이동되는 UX 문제
// Foreground Service + PARTIAL_WAKE_LOCK만으로 Doze 대응
val intent = Intent(context, BleForegroundService::class.java).apply {
action = ACTION_START