Hi!
> >+Hardware hierarchy
> >+==================
> >+
> >+Service org.ofono
> >+Interface org.ofono.quectel.Hardware
> >+Object path /{device0,device1,...}
> >+
> >+Methods array{string,variant} GetProperties
> >+
> >+ Returns hardware properties for the modem object. See
> >+ the properties section for available properties.
> >+
> >+Properties int32 Voltage [readonly]
> >+
> >+ Integer with the modem supply voltage in mV.
> >+
> >+ int32 ChargeStatus [readonly,optional]
> >+
> >+ Integer with one of either:
> >+
> >+ 0: Modem is not charging
> >+ 1: Modem is charging
> >+ 2: Charging is finished
> >+
> >+ This property is available on UC15
> >+
> >+ int32 ChargeLevel [readonly,optional]
> >+
> >+ Integer representing the battery charge level in
> >+ percent (from 0 to 100).
> >+
> >+ This property is available on UC15
> >+
Maybe more resolution than percent would be useful? From 0 to 1000?
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
signature.asc
Description: Digital signature
_______________________________________________ ofono mailing list [email protected] https://lists.ofono.org/mailman/listinfo/ofono
