Rev 2655 |
Rev 2664 |
Go to most recent revision |
Show entire file |
Ignore whitespace |
Details |
Blame |
Last modification |
View Log
| RSS feed
| Rev 2655 |
Rev 2657 |
| Line 169... |
Line 169... |
| 169 |
score = (40*battery_type_score + 60*usage_time_score)/100
|
169 |
score = (40*battery_type_score + 60*usage_time_score)/100
|
| 170 |
elif threeg_talktime_score == 0:
|
170 |
elif threeg_talktime_score == 0:
|
| 171 |
score = (40*battery_type_score + 30*twog_talktime_score + 30*twog_standbytime_score )/100
|
171 |
score = (40*battery_type_score + 30*twog_talktime_score + 30*twog_standbytime_score )/100
|
| 172 |
else :
|
172 |
else :
|
| 173 |
score = (40*battery_type_score + 20*twog_talktime_score + 10*threeg_talktime_score + 20*twog_standbytime_score + 10*threeg_standbytime_score)/100
|
173 |
score = (40*battery_type_score + 20*twog_talktime_score + 10*threeg_talktime_score + 20*twog_standbytime_score + 10*threeg_standbytime_score)/100
|
| 174 |
return score
|
- |
|
| 175 |
|
174 |
return score
|
| - |
|
175 |
|