button battery level warning

This commit is contained in:
cpu
2025-03-28 15:31:28 +01:00
parent 451a61d357
commit 08632ee711
4 changed files with 46 additions and 10 deletions

View File

@@ -3,6 +3,7 @@ export const PUBLIC_VAPID_KEY = 'BKfRJXjSQmAJ452gLwlK_8scGrW6qMU1mBRp39ONtcQHkSs
export const BACKEND_URL = 'https://webpush.virtonline.eu';
export const FLIC_BUTTON_ID = 'game-button'; // Example ID, might need configuration
export const LOCAL_STORAGE_KEY = 'gameTimerData';
export const FLIC_BATTERY_THRESHOLD = 50; // Battery percentage threshold for low battery warning
// Default player settings
export const DEFAULT_PLAYER_TIME_SECONDS = 300; // 5 minutes