All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>,
	kernel list <linux-kernel@vger.kernel.org>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	linux-omap@vger.kernel.org, sre@kernel.org, nekit1000@gmail.com,
	mpartap@gmx.net, merlijn@wizzup.org, martin_rysavy@centrum.cz,
	phone-devel@vger.kernel.org, maemo-leste@lists.dyne.org
Subject: Re: Motorola Droid 4 -- Stopping charger when battery is full
Date: Thu, 13 Apr 2023 12:45:44 +0300	[thread overview]
Message-ID: <20230413094544.GD36234@atomide.com> (raw)
In-Reply-To: <ZDfNRogC4ruBE4Xy@duo.ucw.cz>

* Pavel Machek <pavel@ucw.cz> [230413 09:37]:
> 
> > * Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> [230307 14:10]:
> > > Also, some guys have concerns about charging (and keeping it charged) @4.35,
> > > because of the possibly reduced battery life.
> > 
> > Yes for devices connected to a charger for long periods the battery will
> > bloat up within some weeks or months. This happens easily when using a
> > lapdock for example.
> > 
> > A simple and safe solution here might be that we allow charging up to
> > 4.35V only once when the charger is connected. Then we let the voltage
> > decrease to 4.2V (or whatever known good maintenance voltage) if the
> > charger stays connected.
> 
> Optimum solution would be user specifying "I want battery full
> tommorow at 8am" and doing the right thing.

I think you can already do that via sysfs with cron or at :)

> > For folks wanting to force the charge voltage higher we have the sysfs
> > interface.
> 
> Yep, we just need to make sure it is usable for this.

It should be but I have not tried for years. You need to first configure
the allowed voltage for battery via sysfs, then set the charge voltage
for the charger.

Regards,

Tony

WARNING: multiple messages have this Message-ID (diff)
From: Tony Lindgren <tony@atomide.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>,
	kernel list <linux-kernel@vger.kernel.org>,
	linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
	linux-omap@vger.kernel.org, sre@kernel.org, nekit1000@gmail.com,
	mpartap@gmx.net, merlijn@wizzup.org, martin_rysavy@centrum.cz,
	phone-devel@vger.kernel.org, maemo-leste@lists.dyne.org
Subject: Re: Motorola Droid 4 -- Stopping charger when battery is full
Date: Thu, 13 Apr 2023 12:45:44 +0300	[thread overview]
Message-ID: <20230413094544.GD36234@atomide.com> (raw)
In-Reply-To: <ZDfNRogC4ruBE4Xy@duo.ucw.cz>

* Pavel Machek <pavel@ucw.cz> [230413 09:37]:
> 
> > * Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> [230307 14:10]:
> > > Also, some guys have concerns about charging (and keeping it charged) @4.35,
> > > because of the possibly reduced battery life.
> > 
> > Yes for devices connected to a charger for long periods the battery will
> > bloat up within some weeks or months. This happens easily when using a
> > lapdock for example.
> > 
> > A simple and safe solution here might be that we allow charging up to
> > 4.35V only once when the charger is connected. Then we let the voltage
> > decrease to 4.2V (or whatever known good maintenance voltage) if the
> > charger stays connected.
> 
> Optimum solution would be user specifying "I want battery full
> tommorow at 8am" and doing the right thing.

I think you can already do that via sysfs with cron or at :)

> > For folks wanting to force the charge voltage higher we have the sysfs
> > interface.
> 
> Yep, we just need to make sure it is usable for this.

It should be but I have not tried for years. You need to first configure
the allowed voltage for battery via sysfs, then set the charge voltage
for the charger.

Regards,

Tony

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2023-04-13  9:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-07 12:36 Motorola Droid 4 -- Stopping charger when battery is full Pavel Machek
2023-03-07 12:36 ` Pavel Machek
2023-03-07 14:10 ` Ivaylo Dimitrov
2023-03-07 14:10   ` Ivaylo Dimitrov
2023-03-09  7:14   ` Tony Lindgren
2023-03-09  7:14     ` Tony Lindgren
2023-04-13  9:37     ` Pavel Machek
2023-04-13  9:37       ` Pavel Machek
2023-04-13  9:45       ` Tony Lindgren [this message]
2023-04-13  9:45         ` Tony Lindgren
2023-04-13  9:34   ` Pavel Machek
2023-04-13  9:34     ` Pavel Machek
2023-04-13 14:41     ` Ivaylo Dimitrov
2023-04-13 14:41       ` Ivaylo Dimitrov
2023-03-21 19:25 ` d4: Usable with some caveats Pavel Machek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230413094544.GD36234@atomide.com \
    --to=tony@atomide.com \
    --cc=ivo.g.dimitrov.75@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=maemo-leste@lists.dyne.org \
    --cc=martin_rysavy@centrum.cz \
    --cc=merlijn@wizzup.org \
    --cc=mpartap@gmx.net \
    --cc=nekit1000@gmail.com \
    --cc=pavel@ucw.cz \
    --cc=phone-devel@vger.kernel.org \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.