equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
104 { |
104 { |
105 INFO_1( "CBSUtil::ConstructL - Reading battery levels err %d", err ) |
105 INFO_1( "CBSUtil::ConstructL - Reading battery levels err %d", err ) |
106 |
106 |
107 const TUint8 defaultLevels[KBatteryLevelCount] = |
107 const TUint8 defaultLevels[KBatteryLevelCount] = |
108 { |
108 { |
109 0, 10, 20, 30, 40, 50, 70, 100 |
109 0, 10, 20, 35, 50, 65, 80, 100 |
110 }; |
110 }; |
111 |
111 |
112 for( TInt i = 0; i < KBatteryLevelCount; i++ ) |
112 for( TInt i = 0; i < KBatteryLevelCount; i++ ) |
113 { |
113 { |
114 iBattelyLevels[i] = defaultLevels[i]; |
114 iBattelyLevels[i] = defaultLevels[i]; |