diff --git a/platform/platform_ios.mm b/platform/platform_ios.mm index e88d565870..f532c5ed96 100644 --- a/platform/platform_ios.mm +++ b/platform/platform_ios.mm @@ -68,6 +68,8 @@ Platform::Platform() m_guiThread = make_unique(); UIDevice * device = UIDevice.currentDevice; + device.batteryMonitoringEnabled = YES; + NSLog(@"Device: %@, SystemName: %@, SystemVersion: %@", device.model, device.systemName, device.systemVersion); }