Working :) Your the man.
On Wed, Jun 22, 2011 at 10:43 PM, Carsten Haitzler <[email protected]>wrote: > On Wed, 22 Jun 2011 09:03:16 -0500 Jeff Hoogland <[email protected]> > said: > > try update. tested with your bat dir content. works for me. only issue it > SHOULd have had are > > 1. if you didnt set it to use internal battery reading sutff and > 2. it'd have used voltage to guess rather than capacity. i made it prefer > capacity if given and the only method it can use is voltage as voltage is > not > very accurate a measure of battery capacity (its not linear) > > > Files + contents from battery directory: > > > > capacity - 93 (currently unplugged - I'm guessing this is how much > battery > > it has) > > charge_now - 0 > > health - Unknown > > present - 1 > > status - Discharging > > technology - Li-poly > > temp - 230 > > type - Battery* > > uevent - > > POWER_SUPPLY_NAME=battery > > POWER_SUPPLY_TYPE=Battery > > POWER_SUPPLY_STATUS=Discharging > > POWER_SUPPLY_PRESENT=1 > > POWER_SUPPLY_CAPACITY=93* > > voltage_avg - 4002 > > voltage_max_design - 4200 > > voltage_min_design - 3500 > > voltage_now - 4002 > > > > On Wed, Jun 22, 2011 at 1:30 AM, Carsten Haitzler <[email protected] > >wrote: > > > > > On Tue, 21 Jun 2011 22:46:09 -0500 Jeff Hoogland > <[email protected]> > > > said: > > > > > > > I saw you uploaded an SVN commit with a comment for me to try it this > > > > evening - built it up and still no dice :-/ > > > > > > > > Anywho - /sys/class/power_supply/*/type > > > > > > > > There are three things there - ac, battery, and usb. > > > > > > > > ac says "Mains" > > > > battery says "Battery" > > > > and > > > > usb says "USB" > > > > > > > > Anything else I can provide to help? > > > > > > the actual content of all the files in battery/* > > > (cat capacity; cat xxxx;) so i can see which files have what content. > > > > > > > On 6/21/11, Jeff Hoogland <[email protected]> wrote: > > > > > I'll post the output of the > > > > > > > > > > /sys/class/power_supply/*/type > > > > > > > > > > This evening when I get home - is there anything else you need? > > > > > > > > > > Also I forgot to mention - the gadget is broken 100 percent. On > udev > > > when > > > > > plugged in the battery shows green, when I unplug the coord it > drops to > > > the > > > > > "low" battery sign. > > > > > > > > > > On Tue Jun 21 2011 09:34:28 AM EDT, Carsten Haitzler < > > > [email protected]> > > > > > wrote: > > > > > > > > > >> On Mon, 20 Jun 2011 12:07:16 -0500 Jeff Hoogland > > > > >> <[email protected]> said: > > > > >> > > > > >> you'll need more debuging. > > > > >> > > > > >> first.. e's own batget scans the whole /sys/class/power_supply/ > dir > > > and > > > > >> looks for ALL things that have the "type" file say "Battery" so > what > > > > >> does type say?: > > > > >> > > > > >> /sys/class/power_supply/*/type > > > > >> > > > > >> ? then it checks for lots of other info to see that its correct. > if it > > > > >> doesnt say its a battery you already fail at step 1. > > > > >> > > > > >> now.. does "present" say "1"? ie "it's present" ? in fact it > simply > > > has > > > > >> to say some number OTHER than 0. does it? look at batget.c.. i can > go > > > > >> read out al lthe logic to you from there... but just look at > > > > >> linux_sys_class_power_supply_sysev_init() and > > > > >> linux_sys_class_power_supply_check (). > > > > >> > > > > >> other than that... looks like you have something that provides > only > > > > >> charge_now and no other charge info (like charge_full and > > > > >> charge_full_design). so if its getting past the is battery and > present > > > > >> checks... its going to have to choose to use current, voltage, > energy > > > or > > > > >> charge modes to determine capacity. it seems you have some voltage > > > info > > > > >> like voltage_avg and voltage_max_design and voltage_now. batget is > > > > >> expecting volate_full or voltage_full_design... actually having a > look > > > > >> at some docs this seems wrong. it should look for voltage_max not > > > > >> voltage_full > > > > >> > > > > >> but since it wouldnt get the basis right.. the capacity fallback > thing > > > > >> doesnt quite work... :) i can fix it.. but cant test it. see svn > > > commit > > > > >> to bat. > > > > >> > > > > >> > So the E battery module is not working with my tablet computer. > This > > > > >> > little hack does show power correctly though: > > > > >> > > > > > >> > http://dev.openaos.org/wiki/Debian%20gen8#a10Batterymonitor > > > > >> > > > > > >> > I've tried automatic, internal, and udev - they all fail. Did > some > > > > >> > debugging with devilhorns and here are the contents of my system > > > power > > > > >> > directories: > > > > >> > > > > > >> > *root@archosgen8:/media/sda5/Bodhi/e17_debs/20110620# ls > > > > >> > /sys/class/power_supply > > > > >> > ac battery usb > > > > >> > root@archosgen8:/media/sda5/Bodhi/e17_debs/20110620# ls > > > > >> > /sys/class/power_supply/battery > > > > >> > capacity device power status technology > type > > > > >> > voltage_avg > > > > >> > voltage_min_design > > > > >> > charge_now health present subsystem temp > > > > >> > uevent > > > > >> > voltage_max_design voltage_now > > > > >> > * > > > > >> > Any help/input would be awesome. > > > > >> > -- > > > > >> > ~Jeff Hoogland <http://jeffhoogland.com/> > > > > >> > Thoughts on Technology <http://jeffhoogland.blogspot.com/>, > Tech > > > Blog > > > > >> > Bodhi Linux <http://bodhilinux.com/>, Enlightenment for your > > > Desktop > > > > >> > > > > > ------------------------------------------------------------------------------ > > > > >> > EditLive Enterprise is the world's most technically advanced > content > > > > >> > authoring tool. Experience the power of Track Changes, Inline > Image > > > > >> > Editing and ensure content is compliant with Accessibility > Checking. > > > > >> > http://p.sf.net/sfu/ephox-dev2dev > > > > >> > _______________________________________________ > > > > >> > enlightenment-users mailing list > > > > >> > [email protected] > > > > >> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > > > > >> > > > > > >> > > > > >> > > > > >> -- > > > > >> ------------- Codito, ergo sum - "I code, therefore I am" > > > -------------- > > > > >> The Rasterman (Carsten Haitzler) [email protected] > > > > >> > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Simplify data backup and recovery for your virtual environment with > > > vRanger. > > > > Installation's a snap, and flexible recovery options mean your data > is > > > safe, > > > > secure and there when you need it. Data protection magic? > > > > Nope - It's vRanger. Get your free trial download today. > > > > http://p.sf.net/sfu/quest-sfdev2dev > > > > _______________________________________________ > > > > enlightenment-users mailing list > > > > [email protected] > > > > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > > > > > > > > > > > > > -- > > > ------------- Codito, ergo sum - "I code, therefore I am" > -------------- > > > The Rasterman (Carsten Haitzler) [email protected] > > > > > > > > > > > > -- > > ~Jeff Hoogland <http://jeffhoogland.com/> > > Thoughts on Technology <http://jeffhoogland.blogspot.com/>, Tech Blog > > Bodhi Linux <http://bodhilinux.com/>, Enlightenment for your Desktop > > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) [email protected] > > -- ~Jeff Hoogland <http://jeffhoogland.com/> Thoughts on Technology <http://jeffhoogland.blogspot.com/>, Tech Blog Bodhi Linux <http://bodhilinux.com/>, Enlightenment for your Desktop ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ enlightenment-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-users
