mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Use Debug level for battery level log info
This commit is contained in:
parent
cc82ea14d1
commit
0c181d598f
1 changed files with 1 additions and 1 deletions
|
|
@ -708,7 +708,7 @@ static RootViewManager* rootViewManagerInstance = nil;
|
|||
- (void)batteryLevelChanged:(NSNotification*)notif {
|
||||
float level = [UIDevice currentDevice].batteryLevel;
|
||||
UIDeviceBatteryState state = [UIDevice currentDevice].batteryState;
|
||||
[LinphoneLogger log:LinphoneLoggerLog format:@"Battery state:%d level:%.2f", state, level];
|
||||
[LinphoneLogger log:LinphoneLoggerDebug format:@"Battery state:%d level:%.2f", state, level];
|
||||
|
||||
LinphoneCall* call = linphone_core_get_current_call([LinphoneManager getLc]);
|
||||
if (call && linphone_call_params_video_enabled(linphone_call_get_current_params(call))) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue