Ticket #770 (closed defect: fixed)

Opened 12 years ago

Last modified 21 months ago

Battery discharging while phone is off (GSM part)

Reported by: fabchevalier@… Owned by: mickey@…
Priority: high Milestone:
Component: sysinit Version: current svn head
Severity: major Keywords:
Cc: buglog@…, alphaone@…, kresp0@…, cw@…, jserv@…, tick@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:


My neo exhibits a very strange behaviour : after a full charge of the battery,
it takes only ~ 48hours for the battery to discharge completely to the point Neo
can't boot, while the Neo is *powered off*.

Looks like it is a well known problem :-) : see

Change History

comment:1 Changed 12 years ago by fabchevalier@…

One more detail : phone is a GTA01Bv4 phase 1 sold through web shop, so this
doesn't look like a duplicate of #482

comment:2 Changed 12 years ago by fabchevalier@…

Quoting a recent mail from on device-owners ML:

"I hooked up a current meter between my battery and the phone, and noted that my
Neo draws around 41mA (meter not calibrated recently) after turning on then off.

The -P option with the shutdown command doesn't seem to have an effect on this.
As Fabien noted, if I physically disconnect the battery for a few moments after

shutting down, then reconnect it, the phone draws much less current,
approximately 70uA, which is why the battery does not drain overnight. Another
interesting thing I noted was that if I only disconnect the battery for a very
short time (maybe 1 second), the phone then draws 14mA instead of 41."

Any way we could have some tips from FIC ?
Does it look like a BUG or un unimplemented feature ? (Like making sure all bits
are powered off before to shut down the s3c241O)



comment:3 Changed 12 years ago by laforge@…

  • Cc alphaone@… added

yes, this is sort-of a known issue. It seems not all peripherals are properly
turned off before shutting down the PMU. Especially the GSM part most
definitely is still on, unless it receives and AT@POFF on the UART prior to

the gsmd init script should take care of that, which it most likely doesn't.

In GTA02 we have addressed this by hardware, i.e. GSM will automatically be
switched off once the PMU shuts down.

Another potential issue is the audio amplifier (see #781).

So while this is known for a long time, our extremely small and overloaded team
just didn't have time to implement it yet.

comment:4 Changed 12 years ago by laforge@…

  • Owner changed from laforge@… to alphaone@…
  • Component changed from kernel to sysinit
  • Summary changed from Battery discharging while phone is off to Battery discharging while phone is off (GSM part)

changing this bug to cover the GSM side only. maybe somebody can verify that
AT@POFF indeed helps (i.e. manually issue it before power-down). Once we have a
tested patch for the gsmd init script, I'm more than sure alphaone would be
happy to apply it.

comment:5 Changed 12 years ago by fabchevalier@…

Hi Harald,

Thanks for the tips, this is more than enough to get me started at fixing this
issue. :-)

I'm gonna try what you suggested over the week end, and hopefully come up with a
patch for it.



comment:6 Changed 12 years ago by mickey@…

Putting this into the init script seems to be like a layering violation -- after
all the gsmd is supposed to talk to the modem. Can't we put this into a
detaching method inside our machine plugin?

comment:7 Changed 12 years ago by jserv@…

  • Cc jserv@… added

comment:8 Changed 12 years ago by fabchevalier@…

Didn't make any progress, due to #788 insisting on crashing my phone.

My 0.02 cents about layering violation concerns:
It looks like the gsmd init scripts is responsible for power management, so we
have either to make the init script aware of AT commands or the gsmd aware of
power management: i don't know which is the worst ;-)



comment:9 Changed 12 years ago by cw@…

  • Cc cw@… added

comment:10 Changed 12 years ago by kresp0@…

  • Cc kresp0@… added

comment:11 Changed 12 years ago by sean_chiang@…

For the GTA01BV4 green pcb, before phone is off, power off audio amplifier and
send AT@POFF to GSM modem, the current become 0mA finally. So, AT@POFF is
workable. BTW, when modem receive this command, you could not get any response
from modem.

comment:12 Changed 12 years ago by tick@…

  • Cc tick@… added

comment:13 Changed 11 years ago by olv@…

  • Owner changed from alphaone@… to tick@…

comment:14 Changed 11 years ago by tick@…

  • blocked set to 1003

comment:15 Changed 11 years ago by balrogg@…

  • blocked 1003 deleted
  • dependson set to 1003

comment:16 Changed 11 years ago by tick@…

  • Owner changed from tick@… to willie_chen@…

comment:17 Changed 11 years ago by tick@…

  • Owner changed from willie_chen@… to mickey@…

comment:18 Changed 11 years ago by mickey@…

  • Status changed from new to closed
  • Resolution set to fixed

AT@POFF works fine.

comment:19 Changed 2 years ago by Kennescoma

Pour Propecia <a href=http://cial1.xyz/purchase-cialis.php>Purchase Cialis</a> How Can I Get Samples Of Metformin How To Purchase Accutane <a href=http://kama1.xyz/buy-cheap-kamagra.php>Buy Cheap Kamagra</a> Cialis Levitra Sildenafil Acheter Priligy Au Royaume <a href=http://viag1.xyz/map.php>Sildenafil</a> Tomar Viagra Para Durar Mas Mediciations Without Perscription <a href=http://cial1.xyz/cialis-online-no.php>Cialis Online No</a> Amoxil Prix Overnight Secure Ordering Clobetasol 0.05% Medication Discount <a href=http://cial5mg.xyz/cheap-generic-cialis.php>Cheap Generic Cialis</a> Baclofene Decontractant Musculaire Cialis Achat Moins Cher <a href=http://clomid.ccrpdc.com/clomid-buy-online.php>Clomid Buy Online</a> Generic Legally Levaquin Cravit Internet Low Price On Line

comment:20 Changed 21 months ago by MiguAnydaY

Vente Propecia Au Canada http://cialtobuy.com - cialis Cialis Viagra Differenze
Amoxicillin For Std Propecia Without Prescription
Preise Viagra 50 <a href=http://cialtobuy.com >cialis</a> Costo Cialis Generico

Note: See TracTickets for help on using tickets.