Closed GoogleCodeExporter closed 8 years ago
Experiencing the same issue on a stock SGS.
Running version 0.31 of CurrentWidget.
Running stock Samsung ROM (FROYO.UGKC1) on SGS.
Original comment by bradford...@gmail.com
on 22 Aug 2011 at 3:48
Samsung devices don't export the electric current info in the battery driver.
Nothing I can do about it.
Original comment by ran.ma...@gmail.com
on 22 Aug 2011 at 4:14
I see, here what you can see in /sys about the battery. Nothing about the
current...
# pwd
/sys/devices/platform/sec-battery/power_supply/battery
# for i in $(ls); do echo -n "$i:";cat $i; done
uevent:POWER_SUPPLY_NAME=battery
POWER_SUPPLY_STATUS=Charging
POWER_SUPPLY_HEALTH=Good
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_TEMP=410
POWER_SUPPLY_ONLINE=1
POWER_SUPPLY_VOLTAGE_NOW=3905625
POWER_SUPPLY_CAPACITY=77
POWER_SUPPLY_TECHNOLOGY=Li-ion
subsystem:subsystem: invalid length
device:device: invalid length
status:Charging
health:Good
present:1
online:1
technology:Li-ion
voltage_now:3905625
capacity:77
temp:410
type:Battery
power:power: invalid length
batt_vol:3928750
batt_soc:76
batt_vfocv:3970
batt_temp:410
batt_temp_adc:661
batt_temp_adc_avg:724
charging_source:1
batt_lp_charging:0
video:0
mp3:0
batt_type:SDI_SDI
batt_full_check:0
batt_temp_check:1
batt_temp_adc_spec:(HIGH: 65 - 43, LOW: -3 - 0)
batt_test_value:0-normal, 1-full, 2-low, 3-high, 4-over, 5-cf (0)
batt_current_adc:0
system_rev:14
fg_psoc:75
batt_lpm_state:batt_lpm_state: invalid length
Original comment by markus.b...@gmail.com
on 22 Aug 2011 at 5:04
Yes, that's the problem...
Original comment by ran.ma...@gmail.com
on 22 Aug 2011 at 5:13
OK, so I'll have to be patient until another ROM comes out with a driver
volounteering more information (maybe cyanogenmod, when it comes out).
The battery consumption display in Settings - Applications - Battery usage,
where does it gets its data from ?
Original comment by markus.b...@gmail.com
on 22 Aug 2011 at 5:31
That's a good question but in any case - I don't see current values in the
battery usage screen.
Original comment by ran.ma...@gmail.com
on 24 Aug 2011 at 8:02
Yes, there are no current values, but percentage of energy used per
application. As energy use and current are linked one could deduce one from the
other.
Original comment by markus.b...@gmail.com
on 24 Aug 2011 at 8:17
https://github.com/Entropy512/linux_kernel_sgh-i777/commit/a1a44c90a91e01c0f98bb
a21688759278646f79a - Requires results to be divided by 2.85 (I chose to stick
with configuring the app to divide rather than divide in-kernel.)
Charge current only - no Galaxy S or S2 can report discharge current as far as
I am aware. (Exception being Snapdragon-based S2s, which aren't really S2s.)
Original comment by atd...@gmail.com
on 2 Feb 2012 at 1:58
thanks for the update atdodd.
if this value is written to /sys/class/power_supply/batt_chg_current, then it
should work with the current version of CurrentWidget.
you can also divide by 2.85 in currentwidget options.
let me know if there are any problems.
thanks.
Original comment by ran.ma...@gmail.com
on 2 Feb 2012 at 2:09
In previous versions it used to report charge current on the Samsung Epic 4G
but no long does - "no data." I see the explanation is that the hardware does
not report charge current, but it used to. Current draw is useful since it
tells you the charge rate of different chargers, which vary widely in their
current.
Did this change with Android version?
Original comment by georgeha...@gmail.com
on 21 Sep 2012 at 11:52
could be that they changed something in the kernel..
Original comment by ran.ma...@gmail.com
on 22 Sep 2012 at 3:03
Is it still not working with the S2? Android version 4.0.4
Original comment by zmatko...@gmail.com
on 6 Feb 2013 at 1:28
The Galaxy S2 (and most Samsung devices, actually) doesn't report the electric
current value in the battery driver. It might be a hardware issue or just some
design choice by Samsung. There's nothing I can do about it.
Original comment by ran.ma...@gmail.com
on 6 Feb 2013 at 7:56
If Samsung doesn,t report the electric current value in the battery driver so
how it is possible that Battery Monitor Widget show current power consumtion
in mA???
Original comment by ma.prusz...@gmail.com
on 9 Feb 2013 at 6:39
Battery Monitor Widget estimates the mA values if it's not in the battery
driver, so I it shows the estimates.
I guess it might be that the author has figured out a way to read the mA value
in the Galaxy S2, but since his app isn't open source then I can't know for
sure.
I don't have a Galaxy S2 but every user that looked for a current file couldn't
find one.
Original comment by ran.ma...@gmail.com
on 9 Feb 2013 at 7:17
Original issue reported on code.google.com by
markus.b...@gmail.com
on 18 Aug 2011 at 9:12