I think this issue is a pretty big deal, not so much the bump-charge component rather that core issue itself, that the phone works perfectly normally if it's powered down.
Translated:: The phone is a decent battery charger when *no software* is involved.
I've had two droids, the original Droid 1 (Motorola), and a Droid Incredible. I'm guessing that the charging circuitry itself is close to the same in both phones. When off, they behave the same. When the D1 is on, it behaves still the same (so works off the battery), yet the Dinc, regardless of Kernel, ROM, or anything else behaves differently and sucks it's power from the battery with the charging cable in. (Yeah, I know nothing new, just recapping for myself since I am a relatively new HTC owner).
----- brief thoughts on this ----
- IF (big if), I'm guessing correctly, what I just said above might mean that there is a built-in "shunt" that is software controlled. It just, in response to some low-level command, shunts power usage when the phone is on to the battery rather than the DC (ac converted) cable.
- IF that is in any way, correct, then there may be a way to prevent it from occurring, depending upon how low-level this event occurs.
- IF I'm totally wrong, then the only (maybe) solution would be a circuitry based solution and well, how many are going to dive into their miniature circuit based phones with the proper gear to try to fix it if the fix was even known. It's also not so much we're fixing anything, we're just changing how it works.
- IF it's correct that it's a shunt, and we figure out where it is done, and undo it, then it just might be that we're still in trouble because of for example, the kernel's behavior. No guarantees on this stuff.
-- Things that make no sense to me but are being discussed in various other topics as if they are answers:
- Bump-charging, as if it's a fix to anything, and as if it's a 'fix' of some sort to a faulty kernel paradigm. That is way past the problem.
-- Where to start with this premise?
- I just downloaded (into my linux box) all the HTC kernel source for the DINC and will grep it to death for anything to do first for any #defines/(other code) that have to do with battery or charging, then if I'm lucky and get a hit, will try to figure out what else, other than charging paradigms is being done.
- I'd look at other things than the kernel (bootloader?) , but I'm not yet in possession of source for those, and aren't sure that is a possibility to even get them. I suppose people like those from "Unrevoked" have a notion, but I'll leave that for now.
Anyway: Sure, this is almost certainly an exercise in futility, but I have to admit that this is the most irritating thing about the Dinc for me. That top 5% of charge, from 95->100% when a battery is either taken from a regular charger or charged with the Dinc turned off, last the longest. It is non-linear, sort of like an old car's gas gauge so this seems worth some pursuit.
If you, (people like Medion) have already done all this and come up on empty, then please just reply and let me know. I have no need to reinvent the wheel or spin my own. Thanks -- hashi
PS: I read threads on this topic for about 2 hours before posting, but I mostly saw people addressing 'bump-charging' which isn't of any interest to me. I haven't yet seen someone try to address the cause so figured I'd at least take a look.
Edit:: Well:: Unforunately I thought I'd read a lot on this but mostly I missed a lot of important points, many right here in the thread. My apologies.
I read quite a few lines of semi-relevant source from kernel source, many from power_supply.h and many from battery.c and the various iterations of battery.c (*_battery.c). There are numerous references to a diode in the circuitry that is making the decision path clear without any software involvement. It appears the kernel has nothing to do with the part I was interested in. No big surprise. Now that I've reread and see that you can't run the Dinc without a battery inserted, none of my post is relevant.
The only thing now that would be entertaining, and only if I have a spare Dinc I can get ahold of (well, they'll be next to nothing to buy soon), would be to locate the charge circuitry, and see if there's some logical way to overcome the shunt. That means, perhaps changing/modifying the diode circuitry after figuring out which component(s) are needed to get away with this and get the effect of only using the battery when the battery is all there is available. That is way past what I really wanted to do, but perhaps still a possibility. If anyone has a non-working Dinc and would like to donate it to "science"

, just let me know.
Thanks -- Hashi