Remove fake API reference from commented/deprecated code

Clean up final reference to shouldUseFakeData in disabled battery reporting code.

Co-authored-by: hossain-khan <99822+hossain-khan@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-09 12:29:42 +00:00
co-authored by hossain-khan
parent 7fc02891dd
commit a57d33d519
@@ -242,11 +242,6 @@ class TrmnlUserRepository
Timber.d("Reporting battery status: $batteryPercent% for device ID: $deviceId")
if (repositoryConfigProvider.shouldUseFakeData) {
// Skip API call in debug mode
Timber.d("Skipping battery status report (fake API mode)")
return Result.success(Unit)
}
val updateRequest = TrmnlDeviceUpdateRequest(percentCharged = batteryPercent)
val apiUrl = constructApiUrl(config.apiBaseUrl, DEVICE_API_PATH.replace("{id}", deviceId.toString()))