Re: [E-devel] E SVN: raster trunk/e/src/modules/battery

2011-06-21 Thread The Rasterman
On Tue, 21 Jun 2011 17:29:49 -0400 Mike Blumenkrantz  said:

> On Tue, 21 Jun 2011 06:34:52 -0700
> "Enlightenment SVN"  wrote:
> 
> > Log:
> > jeff - try this battery change
> >   
> >   
> > 
> > Author:   raster
> > Date: 2011-06-21 06:34:52 -0700 (Tue, 21 Jun 2011)
> > New Revision: 60549
> > Trac: http://trac.enlightenment.org/e/changeset/60549
> > 
> still getting that udev crash?

i havent seen one recently.

-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/e/src/modules/battery

2011-06-21 Thread Mike Blumenkrantz
On Tue, 21 Jun 2011 06:34:52 -0700
"Enlightenment SVN"  wrote:

> Log:
> jeff - try this battery change
>   
>   
> 
> Author:   raster
> Date: 2011-06-21 06:34:52 -0700 (Tue, 21 Jun 2011)
> New Revision: 60549
> Trac: http://trac.enlightenment.org/e/changeset/60549
> 
still getting that udev crash?

-- 
Mike Blumenkrantz
Zentific: Coding in binary since '10.

--
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-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/e/src/modules/battery

2008-11-16 Thread Christopher Michael
Enlightenment SVN wrote:
> Log:
>   alert popup wrong - if time_left < 0 then its unknown and shouldnt be used.
>

|| Shut It Down :)

dh

>   
> Author:   raster
> Date: 2008-11-16 19:42:21 -0800 (Sun, 16 Nov 2008)
> New Revision: 37685
> 
> Modified:
>   trunk/e/src/modules/battery/e_mod_main.c 
> 
> Modified: trunk/e/src/modules/battery/e_mod_main.c
> ===
> --- trunk/e/src/modules/battery/e_mod_main.c  2008-11-17 01:50:30 UTC (rev 
> 37684)
> +++ trunk/e/src/modules/battery/e_mod_main.c  2008-11-17 03:42:21 UTC (rev 
> 37685)
> @@ -330,6 +330,9 @@
>   }
> if (batnum > 0) full /= batnum;
>  
> +   printf("full = %i, time_left = %i, have_battery = %i, have_power = %i\n",
> +  full, time_left, have_battery, have_power);
> +   
> if ((disch == 0) && (chrg == 0)) time_left = -1;
> if (time_left < 1) time_left = -1;
> 
> @@ -345,7 +348,6 @@
> 
> conn = e_dbus_bus_get(DBUS_BUS_SYSTEM);
> if (!conn) return;
> -   // FIXME: free all bat/ac adapters, cattery_config stuff etc.
> if (battery_config->hal.have)
>   {
>  dbus_pending_call_cancel(battery_config->hal.have);
> @@ -911,7 +913,7 @@
>}
>  
>  if (have_battery && (!have_power) && (full != 100) &&
> -((battery_config->alert && ((time_left / 60) <= 
> battery_config->alert)) || 
> +(((time_left > 0) && battery_config->alert && ((time_left / 60) 
> <= battery_config->alert)) || 
>   (battery_config->alert_p && (full <= battery_config->alert_p)))
>  )
>{
> 
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> enlightenment-svn mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
> 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel