diff options
author | Johan Bjornstedt <johan.bjornstedt@stericsson.com> | 2011-11-29 12:03:36 +0100 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 11:01:14 +0200 |
commit | f8091a73a0bc7bd411c74603ebe2221be5c824e5 (patch) | |
tree | 1faa5eb11e4ae107a0d0ebfd328701aaefd4bc5c | |
parent | eae204c3822fdd41221fdbe3b08feba120a1aed7 (diff) |
power: ab8500_bm: Estimate capacity in maintenance
Battery capacity will be estimated when the charging
algorithm reports that we're in maintenance state.
Previously we always reported "100%" in maintenance.
ST-Ericsson ID: 398336
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I931b570a26733ced091d7f3cfb1f6ad9d9a5f8f6
Signed-off-by: Johan Bjornstedt <johan.bjornstedt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39748
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
-rw-r--r-- | arch/arm/mach-ux500/board-mop500-bm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/board-mop500-bm.c b/arch/arm/mach-ux500/board-mop500-bm.c index 085661e7491..3556ae78538 100644 --- a/arch/arm/mach-ux500/board-mop500-bm.c +++ b/arch/arm/mach-ux500/board-mop500-bm.c @@ -374,6 +374,8 @@ static const struct ab8500_fg_parameters fg = { .lowbat_threshold = 3100, .battok_falling_th_sel0 = 2860, .battok_raising_th_sel1 = 2860, + .user_cap_limit = 15, + .maint_thres = 97, }; static const struct ab8500_maxim_parameters maxi_params = { |