package me.khodak.claudeusage

import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent

class AlarmReceiver : BroadcastReceiver() {
    override fun onReceive(context: Context, intent: Intent) {
        UsageUpdateWorker.triggerImmediateRefresh(context)
        UsageUpdateWorker.schedulePeriodicRefresh(context) // chain next 5-min alarm
    }
}
