Part of porting the stack to a different platform involves creating an implementation of a device manager plug-in. You can see an example of what we have to do for ivi via the profile/ivi/device-manager-plugin-ivi. I'm pretty sure the low battery error when attempting to play the music app was one of the side effects of not having a plug-in that understands your device.

    --rusty

On 03/28/2013 07:22 AM, embedded linux wrote:
Hi all,
I am unable to solve the issue with launching of music player. Can anybody give me some pointers on this. I tried using vconf command and I am not able to find the function which compares the battery value in source code.

Thanks

On Fri, Mar 22, 2013 at 12:36 PM, embedded linux <[email protected] <mailto:[email protected]>> wrote:

    Thanks hao for sharing the valuable information. This will help me
    to solve the issue.


    On Fri, Mar 22, 2013 at 10:44 AM, Li, Hao H <[email protected]
    <mailto:[email protected]>> wrote:

        Maybe you can try to change the vconf value like
        VCONFKEY_SYSMAN_BATTERY_STATUS_LOW to greater than
        VCONFKEY_SYSMAN_BAT_POWER_OFF=1

        In music play src, there is function like
        mp_check_battery_available to check the logic

        if (!vconf_get_int(VCONFKEY_SYSMAN_BATTERY_STATUS_LOW,
        &batt_state))

        if (batt_state <= VCONFKEY_SYSMAN_BAT_POWER_OFF)

        ...

        *From:*[email protected]
        <mailto:[email protected]>
        [mailto:[email protected]
        <mailto:[email protected]>] *On Behalf Of
        *embedded linux
        *Sent:* Friday, March 22, 2013 1:02 PM
        *To:* Wang, Ning W
        *Cc:* [email protected] <mailto:[email protected]>
        *Subject:* Re: [Tizen General] Music player launch from menu
        screen " Low battery"

        Hi Ning,
        Thanks for the reply.
        My device is not having battery. It is connected by 12v power
        supply. The battery indicator always shows 0% status on the
        device. Is there a way to bypass this and start the music player?

        Thanks

        On Fri, Mar 22, 2013 at 6:29 AM, Wang, Ning W
        <[email protected] <mailto:[email protected]>> wrote:

        Does your device have a battery?  Which device-manager-plugin-* package 
are you using? It might report incorrect battery info. That's why you get this 
kind of message.

        Thanks,

        Ning

        *From:*[email protected]
        <mailto:[email protected]>
        [mailto:[email protected]
        <mailto:[email protected]>] *On Behalf Of
        *embedded linux
        *Sent:* Thursday, March 21, 2013 9:06 PM
        *To:* [email protected] <mailto:[email protected]>
        *Subject:* [Tizen General] Music player launch from menu
        screen " Low battery"

        Hi All,

        I am not able to launch the music player application in
        tizen2.0alpha. I am using Dm8148evm with kernel 2.6.37+.

        When I click on music player Icon from the menu-screen, it
        always pops up window saying " Low battery" and exits.

        Also the resolution is not proper, the cons are overlapped on
        each other also the battery menu icons are very small in size.

        Can anybody help me solve this issue?

        Thanks





_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general

_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general

Reply via email to