Battery level.

Richard Chávez rjchavezb at gmail.com
Fri Jan 22 15:43:26 EST 2010


voltage_now doesn't return anything.  It says:  "cat: read error:
Connection timed out"

2010/1/22 ZhangJieJing <kzjeef at gmail.com>:
> what is
> cat /sys/class/power_supply/battery/voltage_now
> output?
>
> On Sat, Jan 23, 2010 at 1:16 AM, Richard Chávez <rjchavezb at gmail.com> wrote:
>>
>> Thank you Zhang JieJing.
>>
>> I tried it but I am getting a -145 every time (even with only the usb
>> cable plugged and no battery) is it OK?
>
> this is not ok, I think some there is wrong.
>
>>
>> What should I expect if the
>> battery voltage is low?
>>
> Not sure for now, I think maybe the power daemon should be deal with too low
> voltage,
> but we don't have it now.
>
>>
>> 2010/1/22 ZhangJieJing <kzjeef at gmail.com>:
>> > Hi Richard,
>> > you can try this:
>> > #cat  /sys/class/power_supply/battery/capacity
>> > ---
>> > Best regards,
>> > Zhang Jiejing
>> >
>> >
>> > 2010/1/22 Richard Chávez <rjchavezb at gmail.com>
>> >>
>> >> Hello Everybody,
>> >>
>> >> Is there a way (command) to read the battery level on the Nano?
>> >>
>> >> Thanks for your help.
>> >>
>> >> _______________________________________________
>> >> Qi Developer Mailing List
>> >> Mail to list (members only): developer at lists.qi-hardware.com
>> >> Subscribe or Unsubscribe:
>> >> http://lists.qi-hardware.com/cgi-bin/mailman/listinfo/developer
>> >
>> >
>> > _______________________________________________
>> > Qi Developer Mailing List
>> > Mail to list (members only): developer at lists.qi-hardware.com
>> > Subscribe or Unsubscribe:
>> > http://lists.qi-hardware.com/cgi-bin/mailman/listinfo/developer
>> >
>>
>>
>>
>> --
>> Ing. Richard Chávez Borja
>> Microensamble
>> www.microensamble.com
>> Teléfono:2172192 - ext 106
>> Dirección Skype: rjchavezb
>>
>> _______________________________________________
>> Qi Developer Mailing List
>> Mail to list (members only): developer at lists.qi-hardware.com
>> Subscribe or Unsubscribe:
>> http://lists.qi-hardware.com/cgi-bin/mailman/listinfo/developer
>
>
> _______________________________________________
> Qi Developer Mailing List
> Mail to list (members only): developer at lists.qi-hardware.com
> Subscribe or Unsubscribe:
> http://lists.qi-hardware.com/cgi-bin/mailman/listinfo/developer
>



-- 
Ing. Richard Chávez Borja
Microensamble
www.microensamble.com
Teléfono:2172192 - ext 106
Dirección Skype: rjchavezb




More information about the discussion mailing list


interactive