equal
deleted
inserted
replaced
180 // |
180 // |
181 void CSysApPsmController::BatteryLow( TBool aBatteryIsLow ) |
181 void CSysApPsmController::BatteryLow( TBool aBatteryIsLow ) |
182 { |
182 { |
183 TRACES( RDebug::Print( _L("CSysApPsmController::BatteryLow: aBatteryIsLow=%d"), aBatteryIsLow ) ); |
183 TRACES( RDebug::Print( _L("CSysApPsmController::BatteryLow: aBatteryIsLow=%d"), aBatteryIsLow ) ); |
184 |
184 |
185 if ( aBatteryIsLow ) |
185 if ( aBatteryIsLow && !iChargerConnected ) |
186 { |
186 { |
187 iForcedPartialPsm = ETrue; // when battery is low, at least partial PSM must be active |
187 iForcedPartialPsm = ETrue; // when battery is low, at least partial PSM must be active |
188 } |
188 } |
189 else |
189 else |
190 { |
190 { |