[maemo-developers] [maemo-developers] LibOSSO, DBUS and Battery

From: Kimmo Hämäläinen kimmo.hamalainen at nokia.com
Date: Fri Sep 22 17:41:14 EEST 2006
On Fri, 2006-09-22 at 16:13, ext ipsat at ifrance.com wrote:
> Hello 
> 
> In the LibOSSO library there are only 4 signals :
> shutdown_ind  
> save_unsaved_data_ind
> memory_low_ind
> system_inactivity_ind
> 
> but there are no possibilities to read the current battery level.
> 
> Is it possible to read perodically the battery energy level with
> LibOSSO or DBUS ?
> Does somebody have any sample code in C to do this ?

AFAIK, it's not possible. The Libosso API is quite 'challenged' at the
moment, and I'm working on a new API to replace it.

> The Nokia770 does not have an ACPI module, is it possible to add it to
> solve my problem ?
> If yes, how to proceed ?

I believe the battery level reading was possible, and I think it has
been answered earlier on the mailing list. Maybe you can find it from
the mailing list archive.

BR, Kimmo

> 
> 
> 
> Thanks
> Best Regards
> Jacky
> 
> 
> 
> 
> ______________________________________________________________________
> 
> iFRANCE
> exprimez-vous !
> 
> ______________________________________________________________________
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers

More information about the maemo-developers mailing list