willjet / currentwidget Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/currentwidget
Automatically exported from code.google.com/p/currentwidget
This might be not-so-important, but would fulfill all the features of the
good-old (yet deprecated) Android Battery Dog.
1. Add Charge% graph to quickly look the charge and discharge periods. (Most
important values for most users).
2. Maybe add some more metrics. This could include
http://code.google.com/p/currentwidget/issues/detail?id=11 and also BattV,
Charge/Discharge rate in %/hour, ...
Thanks a lot for the app, the Android Battery Dog replacement!
Original issue reported on code.google.com by ildar.mulyukov
on 18 Jun 2013 at 5:00
Append running applications when writing to log file
Original issue reported on code.google.com by [email protected]
on 26 Aug 2010 at 2:20
Hello.I think is a good idea to add a button in the widget to Enable-Dissable
the auto-update feature, so the widget do not waste resources when the device
isn't charging, allowing to set lower values in the auto-update interval
option.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2013 at 2:40
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 12 Oct 2010 at 3:08
What steps will reproduce the problem?
1. Load this widget on a Samsung Galaxy S II
2. No Data is displayed
What is the expected output? What do you see instead?
- Current usage in mA
What version of the product are you using? On what operating system?
- Latest from today
Original issue reported on code.google.com by [email protected]
on 11 Aug 2011 at 6:38
Just an idea, I know the mytracks application allows this for example.
I don't know if you can insert graphs in exported data to google docs, but it's
what I use to make sense of the data. This is somehow related to issue #5 and
issue #4. It'll be hard to generate a easy to use system to view that kind of
data on the phone (as it's a lot). It should be relativly easy with some graphs
and QUERY's in a google spreadsheet though.
Original issue reported on code.google.com by [email protected]
on 27 Aug 2010 at 4:27
Hi, I find this app useful but the support for Intel platforms is not there yet.
You can get the battery info from the following path on ICS or later versions.
/sys/class/power_supply/max170xx_battery/*
Thanks,
Ram
Original issue reported on code.google.com by [email protected]
on 18 Jul 2012 at 6:24
What steps will reproduce the problem?
1. Download & install most recent version from code.google.com
2. Open app, default options.
3. View log, view graph, & analyze log all yield "no log data". Wait. Repeat.
Same result.
What is the expected output? What do you see instead?
Log data. No log data.
What version of the product are you using? On what operating system?
.31a on android 2.2
Please provide any additional information below.
Log filename (select log file location) & log applications (don't log running
applications) options are both greyed out, as is the ClearText option.
Original issue reported on code.google.com by [email protected]
on 11 Oct 2011 at 9:49
What steps will reproduce the problem?
1.no special steps required
2.install app and add widget
3.
What is the expected output? What do you see instead?
Expect to see electrical current value. See no data instead.
What version of the product are you using? On what operating system?
Samsung Galaxy Nexus on android 4.0.2
Please provide any additional information below.
So it's never going to work since it seems to be some driver or hardware issue?
Original issue reported on code.google.com by [email protected]
on 28 Dec 2011 at 11:01
What steps will reproduce the problem?
1.Load currentwidget
2.Press home screen and get "add to home screen"
3.Press Widgets
What is the expected output? What do you see instead?
Expect list of widgets including Currentwidget - however Currentwidget not
listed.
What version of the product are you using? On what operating system?
.31
Please provide any additional information below.
Can run current widget from startup icon however, will not create a log file.
Get 'Log file not found' error.
Currentwidget previously working on this phone in current OS.
Nexus One
Original issue reported on code.google.com by [email protected]
on 8 Sep 2011 at 1:53
I looked into the source code and it says for Galaxy Note it reads from this
file:
"/sys/class/power_supply/battery/batt_current_adc"
Is this the charging current only ?? or can I get the current value on the
Galaxy Note 1 even if I`m not charging ?
Original issue reported on code.google.com by [email protected]
on 24 Nov 2012 at 10:09
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Market is not enabled in some countries, adding the apk to downloads section
will provide users with no market access to use your app.
Original issue reported on code.google.com by [email protected]
on 6 Feb 2011 at 12:36
What steps will reproduce the problem?
1.Install Currentwidget
2.Enable the logfile
3.Place the widget somewhere
4.See that it displays <no data>
5.Let it run for a day
6.See that it still displays <no data>
7.Open Currentwidget
8.Click on 'Analyze Log' and get 'No log data'
9.Click on 'View Log as Graph' and get an empty graph
10.Click on 'View Log' and see a huge logfile
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Product: I don't know, there is no 'About' item in the menu
SGS2 stock, with root ed Kernel: Android version 2.3.3, Kernel 2.6.35.7,
Gingerbread.XWKE2
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 18 Aug 2011 at 9:12
Would be a nice feature.
Original issue reported on code.google.com by [email protected]
on 22 Aug 2010 at 9:24
Hello, I have Samsung Galaxy Note II International (N7100). I installed Current
Widget but I still get 0mA in my logs. Is there any way to fix that? Have stock
4.1.2 without root. I bought mobile device 3 months ago.
See log. Thank you very much.
In sys/class/power_supply/battery/ I have these files:
DIRS:
device
power
subsystem
FILES:
auth_battery
batt_error_test
batt_charging_source
batt_lp_charging
batt_read_adj_soc
batt_read_raw_soc
batt_reset_soc
batt_slate_mode
batt_temp_adc
batt_temp_adc_aver
batt_temp_adc_cal
batt_temp_aver
batt_type
batt_vf_adc
batt_vfocv
batt_vol_adc
batt_vol_adc_aver
batt_vol_adc_cal
batt_vol_aver
capacity
current_avg
current_max
current_now
factory_mode
health
charge_type
online
present
siop_activated
siop_level
status
technology
temp
test_mode
type
uevent
update
voltage_max_design
voltage_min_design
voltage_now
wc_status
wpc_pin_state
Original issue reported on code.google.com by [email protected]
on 14 Mar 2013 at 11:36
Attachments:
view log button in configuration
Original issue reported on code.google.com by [email protected]
on 15 Sep 2010 at 12:50
Add optional text in notification bar
Original issue reported on code.google.com by [email protected]
on 26 Aug 2010 at 2:18
I install Current Widget from Android market on my Samsung Spica i5700, it show
only % usage of battery not the mA use... Reboot and reinstall app doesn't
help...
Original issue reported on code.google.com by przemyslaw.zajaczkowski
on 6 May 2011 at 8:54
What steps will reproduce the problem?
1.In CurrentWidget setting, press Display Options
2.In Display Option setting, press Views
3.In Views setting, enable Temperature(C)
4.Back to CurrentWidget setting, enable Log file
5.Go to SD card, open the currentwidget.log and there has no the information of
the Temperature
What is the expected output? What do you see instead?
Add the Temperature information in log file(currentwidget.log).
I only see "...2012/06/26 16:15:53,262mA,96%,4.133V..." in log file.
What version of the product are you using? On what operating system?
I am using the version of 0.35.
On Android 2.3.4.
Please provide any additional information below.
Thank you for your time.
Original issue reported on code.google.com by [email protected]
on 26 Jun 2012 at 8:20
As in title, its almost impossible to hit the refresh button. I always enter
the config.
Original issue reported on code.google.com by [email protected]
on 12 Oct 2010 at 3:16
Dispalys 0mA all the time
Original issue reported on code.google.com by [email protected]
on 21 Jan 2012 at 7:18
as I cant compile the Source because of Problems with the ambilwarna
please add:
// Cynus T1
if (Build.MODEL.equalsIgnoreCase("Cynus")) {
f = new
File("/sys/devices/platform/mt6329-battery/FG_Battery_CurrentConsumption");
if (f.exists())
return OneLineReader.getValue(f, false);
}
the File contains the current as a 4digit Integer.
Thank You
JJ
Original issue reported on code.google.com by [email protected]
on 30 Mar 2013 at 2:47
Hi , I'm trying to build this using f-droid (FOSS repo and sdk frontend which
uses platform tools v14 right now). Here is the setup:
Build
Version:0.36b,31,r236,subdir=CurrentWidget,update=.;../CurrentWidgetLibrary,\
srclibs=Android-Color-Picker@1cc99729a82c,target=android-15,\
prebuild=echo "android.library.reference.1=../CurrentWidgetLibrary" >
project.properties && \
echo "android.library.reference.1=$$Android-Color-Picker$$/AmbilWarna" >>
project.properties && \
echo "target=android-8" > ../CurrentWidgetLibrary/project.properties && \
echo "target=android-8" >> project.properties
with the errors following,
/home/gerry/dalb8s-fdroiddata/build/com.manor.currentwidget/CurrentWidget/bin/An
droidManifest.xml:14: error: Error: No resource found that matches the given
name (at 'label' with value '@string/app_name').
[aapt] /home/gerry/dalb8s-fdroiddata/build/com.manor.currentwidget/CurrentWidget/bin/AndroidManifest.xml:14: error: Error: No resource found that matches the given name (at 'theme' with value '@style/MyTheme').
[aapt] /home/gerry/dalb8s-fdroiddata/build/com.manor.currentwidget/CurrentWidget/bin/AndroidManifest.xml:25: error: Error: No resource found that matches the given name (at 'label' with value '@string/app_name').
[aapt] /home/gerry/dalb8s-fdroiddata/build/com.manor.currentwidget/CurrentWidget/bin/AndroidManifest.xml:30: error: Error: No resource found that matches the given name (at 'resource' with value '@xml/current_widget_info').
[aapt] /home/gerry/dalb8s-fdroiddata/build/com.manor.currentwidget/CurrentWidget/bin/AndroidManifest.xml:43: error: Error: No r
Original issue reported on code.google.com by [email protected]
on 20 Sep 2012 at 6:26
Add "minutes till charged/discharged" metric.
Technically you can use formulas from http://ibam.sourceforge.net/
It proved to be quite accurate on PCs.
Useful!
Original issue reported on code.google.com by ildar.mulyukov
on 27 Jun 2013 at 7:32
Option to show voltage instead of current
log voltage
Original issue reported on code.google.com by [email protected]
on 24 Sep 2010 at 12:57
please add voltage(mV), temp(x,x°C), and level(%)
Original issue reported on code.google.com by [email protected]
on 13 Oct 2010 at 4:23
Enhancement:
I'd suggest to use file
/sys/class/power_supply/battery/current_avg
instead of currently used
/sys/class/power_supply/battery/current_now
_avg one do some averaging in the kernel, thus result is more stable.
_now just reads momentarily value, it may have large fluctuations.
Original issue reported on code.google.com by [email protected]
on 31 Aug 2010 at 7:49
time/current graph view.
Original issue reported on code.google.com by [email protected]
on 26 Aug 2010 at 2:20
I think the current value is located at
/sys/class/power_supply/ab8500_fg/current_now on Xepria U with the unit of uA.
When connected with USB and charging it shows changing value around 397000 to
401000.
AB8500 PMIC manual is found at:
http://m.stericsson.com/ST_Ericsson_Mobile/developers/CD00291561_UM1031_AB8500_u
ser_manual-rev5_CTDS_public.pdf
Other useful stuff found under /sys/class/power_supply/ab8500_fg/:
capacity
capacity_level
charge_full
charge_full_design
charge_now
current_avg
current_now
energy_full
energy_full_design
energy_now
type("Battery")
voltage_now
Original issue reported on code.google.com by [email protected]
on 14 Oct 2012 at 10:24
What steps will reproduce the problem?
1. On AOSP build of ICS for the Galaxy Nexus LTE/VZW
2. Turned on logging options for general and apps
3. Left overnight to gather data
4. Next morning (and later in the evening), hit "Analyze Log"
What is the expected output? What do you see instead?
Analyze log-> Top Processes after doing the long progress bar, should give me information about the processes that are eating up CPU time. Instead, after going through the progress bar and a number of counters (quicklY), it pops up and says "No data," although there must be data for it to have had something to sift through. The "Values Count" also does the same thing.
The file has rw/rw/r permissions and is totally readable by other non-root applications, including the HTML Viewer that I used to manually peruse the log.
What version of the product are you using? On what operating system?
Latest from the Market, released 26 Nov 2011 on a modified version of ICS 4.0.3 for the LTE Galaxy Nexus.
Please provide any additional information below.
I can view the file just fine. Additionally, I'm not sure why it reads the log file, and then acts like it didn't. It's very odd.
Original issue reported on code.google.com by [email protected]
on 29 Dec 2011 at 6:34
Any plans to support the stock Nexus 7 kernel or other flavors?
All I get is "no data" on my grouper. I also did a reboot for sanity sake.
Original issue reported on code.google.com by [email protected]
on 15 Aug 2012 at 9:35
I got Defy MB525 and in the log there is no mA information.
Also I get this kind of log (attached), where % is going down and V up in one
or two cases.
Any ideas?
Kind regards,
MZ
Original issue reported on code.google.com by [email protected]
on 28 Dec 2011 at 3:31
Add a calculated average of the power drain since starting monitoring (until
stopping)
Original issue reported on code.google.com by [email protected]
on 16 Sep 2010 at 6:35
What steps will reproduce the problem?
1.install on HTC one
2.add widget to home
3.
What is the expected output? What do you see instead?
Numbers iin the hundreds of thousands.
What version of the product are you using? On what operating system? Latest
market version as of posting on HTC Sense and cyanogenmod
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 26 Jun 2013 at 8:44
What steps will reproduce the problem?
1. Installed and used with default settings
2. V and % show values, but current stays at 0
What is the expected output? What do you see instead?
See point 2.
What version of the product are you using? On what operating system?
- Android 2.3 on HTC Wildfire S
Original issue reported on code.google.com by [email protected]
on 4 Sep 2011 at 1:13
Since the list of running application can be overkill, add an option to only
log active/foreground applications, if possible
Original issue reported on code.google.com by [email protected]
on 16 Sep 2010 at 6:36
It's a bit hard to get good averages with only the drain. If I could get the
current charge I can graph it and compare day by day very easily.
Original issue reported on code.google.com by [email protected]
on 27 Aug 2010 at 4:25
What steps will reproduce the problem?
1.Start Widget
2.
3.
What is the expected output? What do you see instead?
Widget shows error1 where it should show current.
What version of the product are you using? On what operating system?
0.18
Please provide any additional information below.
This is on a LG GW620R running Froyo.
Original issue reported on code.google.com by [email protected]
on 9 Nov 2010 at 3:27
Add a button to start and stop the monitoring/logging in order to avoid
removing the widget to stop it.
Original issue reported on code.google.com by [email protected]
on 16 Sep 2010 at 6:32
Shows error1 instead of current value on stock Droid 1 with Froyo
Original issue reported on code.google.com by [email protected]
on 17 Sep 2010 at 5:17
Would be really nice to get a history, maybe a fancy graph? ;)
Original issue reported on code.google.com by [email protected]
on 22 Aug 2010 at 9:25
What steps will reproduce the problem?
1.install to an unrooted samsung Sii android 2.3.3
2.place the widget on a home screen. click it to toggle settings - it will
show voltage and battery charge but "no data" for current consumption
3.run the app - go to settings > view log as graph graph will be blank
4.run the app - go to settings > analyze log > top processes - get error "no
log data" (even after hours of logging)
What is the expected output? What do you see instead?
expect to see (on the widget display) the amount of current being used (the
current current?)
expect to see entries in the log for current consumption of apps running on the
device
What version of the product are you using? On what operating system?
currentwidget 0.3
android 2.3.3 (gingerbread - unrooted samsung sii)
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 8 Aug 2011 at 7:48
add note2 support
Original issue reported on code.google.com by [email protected]
on 13 Nov 2012 at 9:49
Attachments:
I was wondering if you could add support for the Motorola Atrix. The file that
reports the current usage is at:
/sys/devices/platform/cpcap_battery/power_supply/usb/current_now
Thanks for the great product.
Original issue reported on code.google.com by [email protected]
on 24 Aug 2011 at 6:32
I installed in program in HTC desire, but cannot found currentwidget icon, is
it support HTC desire ?
Original issue reported on code.google.com by [email protected]
on 11 Nov 2010 at 7:10
What steps will reproduce the problem?
1.it is always like that
2.
3.
What is the expected output? What do you see instead?
any. always shows 0mA
What version of the product are you using? On what operating system?
version 0.18 on froyo (2.2.1) on a rooted g1 with a custom mod of cyanogen
Please provide any additional information below.
it works when charger/usb is connected.
Original issue reported on code.google.com by [email protected]
on 23 Nov 2010 at 10:15
Please, add support for Asus TF101 batteries.
There are 2 batteries, one in the tablet itself and another one in the dock.
For the main battery, %charge shown in the settings pop-up, but there is
nothing that shows dock battery state.
There is no sysfs file to show you current, but there is information about dock
battery:
/sys/class/power_supply/dock_battery/capacity
gives %charge.
In same directory, file
status
reads Charging/Not charging/Full
For the main battery,
/sys/class/power_supply/battery/
have usual set of files
Original issue reported on code.google.com by [email protected]
on 24 Jun 2011 at 9:08
What steps will reproduce the problem?
1.install to gingerbread android 2.3
2.
3.
What is the expected output? What do you see instead?
the widget doesn't work!
What version of the product are you using? On what operating system?
version .22 from the market, android 2.3
Please provide any additional information below.
when you install to gingerbread android 2.3, the widget won't be listed as an
available widget, but is on the app drawer and on the list of installed apps.
Original issue reported on code.google.com by [email protected]
on 15 Jan 2011 at 4:23
Is it possible to add support for Motorola Droid/Milestone? Additionally it
would be nice if the description included a list of supported devices to avoid
confusion and one star reviews.
Original issue reported on code.google.com by [email protected]
on 25 Dec 2010 at 8:23
What steps will reproduce the problem?
1. Rotate the phone to landscape mode
What is the expected output? What do you see instead?
Should have a slightly different layout (wider and shorter). Instead, the top
and bottom is cut off.
What version of the product are you using? On what operating system?
0.16 on Eclair. Samsung Epic.
Please provide any additional information below.
Would also like to see a dark gray background option with lighter text so it
matches my other widgets.
Original issue reported on code.google.com by [email protected]
on 15 Oct 2010 at 5:22
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.