equal
deleted
inserted
replaced
216 statusPane->SwitchLayoutL( currLayout ); |
216 statusPane->SwitchLayoutL( currLayout ); |
217 |
217 |
218 User::LeaveIfError( err ); |
218 User::LeaveIfError( err ); |
219 } |
219 } |
220 |
220 |
|
221 |
|
222 // --------------------------------------------------------------------------- |
|
223 // CSysApBatteryInfoController::IsBatteryInfoAboveThreshold |
|
224 // --------------------------------------------------------------------------- |
|
225 // |
|
226 TBool CSysApBatteryInfoController::IsBatteryInfoAboveThreshold() const |
|
227 { |
|
228 TInt capacity = iBsUtil->GetBatteryCapacity(); |
|
229 return ((capacity <= iThresholdCapacity ? EBatteryInfoBelowThreshold : EBatteryInfoAboveThreshold) == EBatteryInfoAboveThreshold); |
|
230 } |