Nope. That's being handled by libhealthd and battds binary. I.e. we could change the readout path in libhealthd, current one is:
Code:
config->batteryCapacityPath = "/sys/class/power_supply/battery/charge_counter";
config->batteryCapacityPath = "/sys/class/power_supply/battery/capacity";
But the userspace entries are being created by the kernel and the actual values are being written to it by battd. As soon as kexec kernel takes over, the whole userspace is being recreated and the stock kernel's sysfs doesn't exist anymore at this point, so there's no alternate path for being watched by libhealthd BUT:
There is absolutely no difference between kexec kernel's battery sysfs path and stock kernel's one. The entries are beuing created by the battery driver, and this driver is exactly the same one like existing in stock kernel - no difference, so it wouldn't make any difference at all when reading from stock kernel (if that would be possible).
SS doesn't create a new battd path for each rom slot - only BMM is doing that - as I know. SS slots are using /tmp/battd or /data/tmp/battd (not sure if i remember right). the batterystats.bin is created by rom - and only contains stats based on kernel entries.
If you have battery drops, think about the possibility of a broken battery or calibrate it via the common way. To force a FULL calibration (I know, not necessary since Android 4.0, blablabla, NO! It IS necvessary as I tested it with sucess!):
1. Use phone until it goes off.
2. Let it charge until 100% and keep it plugged for 30 more minutes (and phone has to stay powered OFF)
3. Pull charger
4. Boot directly into recovery
5. Mount system
6. Use SS Filemanager and navigate into the following locations and delete ALL containing data:
Code:
/data/tmp/battd
/data/battd
/tmp/battd
/data/system/batterystats.bin (ONLY delete this file here!)
7. Boot into rom
8. Check the battery state - and if not fully charged, plug charger again and shut down the phone.
9. Keep it charging for another 30 minutes.
10. Boot into rom, plug charger and let it charge until the rom says 100%.
NOTE: In some cases (when the battery is really discalibrated by software side), after deleting all these entries and charging the phone again (while powered OFF) it will take up to 5 hours (!) until it's being fully charged - don't be scary then, this is normal and necessary then.
AFTER the whiole process, the phone and battery need to settle for a FEW DAYS! Battery life COULD be bad during this period (not a must). After that it will be fine - and battery drops should be gone within a few days (no matter if you use 1% or 10% - I'm using 1% again weith my new battery and everything is fine so far). Just be a little bit patient. If you still get drops after one week - you should consider a new battery.
I found a battery by OTHER manufacturers for our RAZR -
the normal one (1900mAh):
http://www.amazon.com/Onite-1900mAh...im_cps_11?ie=UTF8&refRID=1QRYHZQ1SNE150B4G52Q
a bigger one (with about 3400mAh!):
http://www.amazon.com/3400mAh-Batte...bs_cps_22?ie=UTF8&refRID=1D51K13NY9TZEKDP4BQM
The last one (X-Longer, made in China) is produced by a manufacturer who proofed to produce quality batteries! They really last long and work just fine (tested on other devices and got some reviews from people using it). The price is great! The first one seems fine too (according to reviews by customers on Amazon). Price is GREAT!
I once ordered a genuine one 3 months ago (EB20) and payed around 30 € (~ 40 $) - next time I would order one of these posted above.
Also a replacement kit for conversion into MAXX would be great - but expensive! A few of the needed parts are only in stock at foreign shops - shipping costs, customs, etc is eating your money in this case. Or you just order a full (ready to use) conversion kit - assuming they have it in stock) for around 100 € - 150 €.
Good luck!