Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1374817

Re: [PATCH] sbs-battery: fix power status when battery charging near dry

From Sebastian Reichel <sre@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] sbs-battery: fix power status when battery charging near dry
Date 2016-04-10 18:30 +0200
Message-ID <rmqpl-7ON-33@gated-at.bofh.it> (permalink)
References <rkLxU-5qB-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

On Wed, Apr 06, 2016 at 10:32:25AM +0800, YH Huang wrote:
> POWER_SUPPLY_STATUS_NOT_CHARGING is used for AC connected, but
> battery not charging (e.g. because battery temperature is out
> of acceptable range).
> 
> When battery is charging near dry and BATTERY_FULL_DISCHARGED is set,
> it is wrong to set as POWER_SUPPLY_STATUS_NOT_CHARGING.
> Just use BATTERY_DISCHARGING to decide the power supply status is
> discharging or charging.

Thanks, queued.

-- Sebastian

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] sbs-battery: fix power status when battery charging near dry YH Huang <yh.huang@mediatek.com> - 2016-04-06 04:40 +0200
  Re: [PATCH] sbs-battery: fix power status when battery charging near dry Daniel Kurtz <djkurtz@chromium.org> - 2016-04-09 12:40 +0200
  Re: [PATCH] sbs-battery: fix power status when battery charging near  dry Sebastian Reichel <sre@kernel.org> - 2016-04-10 18:30 +0200

csiph-web