Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350636
b: refs/heads/master
c: d80108f
h: refs/heads/master
v: v3
  • Loading branch information
Lee Jones committed Jan 23, 2013
1 parent e5133f5 commit cc6ae2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3edebfcdb31e6203abe0994c1e785833d928e8b4
refs/heads/master: d80108fc69484c20c3b85d7cdc948e191e843fa4
3 changes: 3 additions & 0 deletions trunk/drivers/power/abx500_chargalg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1628,6 +1628,9 @@ static int abx500_chargalg_get_property(struct power_supply *psy,
val->intval = POWER_SUPPLY_HEALTH_COLD;
else
val->intval = POWER_SUPPLY_HEALTH_OVERHEAT;
} else if (di->charge_state == STATE_SAFETY_TIMER_EXPIRED ||
di->charge_state == STATE_SAFETY_TIMER_EXPIRED_INIT) {
val->intval = POWER_SUPPLY_HEALTH_UNSPEC_FAILURE;
} else {
val->intval = POWER_SUPPLY_HEALTH_GOOD;
}
Expand Down

0 comments on commit cc6ae2b

Please sign in to comment.