Commit Graph

33 Commits

Author SHA1 Message Date
Carsten Haitzler 3903d44666 e - BLOODY BUILD AGAIN - DAMN FLOAT WARNINGS...
i swear ... all of this shit over a warning that CAUSED more bugs than
it eveer fixed? sersiously...

ARGH!
2017-01-07 14:05:17 +09:00
Stephen 'Okra' Houston 501ea95e2c E gadgets: Prepare for sysinfo to arrive. 2017-01-06 16:16:51 -06:00
Mike Blumenkrantz 49776abae3 resolve battery float-equal warnings
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-06 12:57:33 -05:00
Mike Blumenkrantz 471dcb24cb __UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
Cedric BAIL 23e2a04c29 e: take a plane and fix that damn battery time left !
SVN revision: 81383
2012-12-19 16:10:37 +00:00
Mike Blumenkrantz fdcdd7a168 void functions don't return values
SVN revision: 80845
2012-12-13 13:19:30 +00:00
Mike Blumenkrantz df132cab81 patches from Basil Gor (basil.gor@gmail.com) fixing stringshare usage in battery module. thanks!
SVN revision: 76369
2012-09-10 07:55:15 +00:00
Mike Blumenkrantz 20efd7c8cd revert changes from last month to udev backend, seems to have broken things
probably fixes ticket #1304


SVN revision: 76285
2012-09-07 08:01:17 +00:00
Mike Blumenkrantz 9000c5eb47 fix some battery stringshare usage
SVN revision: 75208
2012-08-13 12:40:54 +00:00
Mike Blumenkrantz 82fcf900bd formatting
SVN revision: 75196
2012-08-13 09:24:51 +00:00
Mike Blumenkrantz 10ec75e35a add testing patch from seb (sdATtango.flipp.net) to improve udev battery monitoring; report any bugs to trac
SVN revision: 74921
2012-08-06 10:37:49 +00:00
Chidambar Zinnoury 907ea06deb e battery: don't report battery as charging when it obviously isn't.
On my laptop, when the travel (second) battery is finished discharging, its status is being reported as Unknown. As its charging rate is zero, stop pretending it's charging.


SVN revision: 74296
2012-07-22 13:39:16 +00:00
Cedric BAIL c2a29811d5 e: massiv warning cleanup !
SVN revision: 70756
2012-05-04 09:38:52 +00:00
Cedric BAIL 29dffc306c e: segv-- on power removal.
SVN revision: 62181
2011-08-07 12:35:21 +00:00
Sebastian Dransfeld d1b854b9c1 cleanup battery module
- Only open one connection to dbus (e_dbus_bus_get) and then close it on
  shutdown.
- Fix autodetection of backend.

SVN revision: 51764
2010-08-30 19:57:36 +00:00
Sebastian Dransfeld e2c4df0689 formatting
SVN revision: 51720
2010-08-29 10:57:05 +00:00
Sebastian Dransfeld cf7e7abbcb Check right variable
SVN revision: 51719
2010-08-29 10:56:55 +00:00
Sebastian Dransfeld 936d65abc6 Don't loop list twice
SVN revision: 51718
2010-08-29 10:56:40 +00:00
Christopher Michael 2547aeefe2 Add UNUSED where needed.
SVN revision: 51404
2010-08-19 15:21:14 +00:00
Mike Blumenkrantz 435a74fcf8 update for eeze change
SVN revision: 50691
2010-07-30 18:19:53 +00:00
Christopher Michael 180e057bb3 Fixes for recent Ecore Api changes.
SVN revision: 49834
2010-06-24 17:52:08 +00:00
Mike Blumenkrantz d4c70a863c globals declared in main now
SVN revision: 49760
2010-06-19 17:53:49 +00:00
Mike Blumenkrantz fb5409a64a well that was dumb of me
SVN revision: 49183
2010-05-24 17:23:03 +00:00
Mike Blumenkrantz 95ee44e8c1 updates to match eeze changes
SVN revision: 49119
2010-05-22 01:55:28 +00:00
Mike Blumenkrantz 8b6b36637d fix stringshare delete
SVN revision: 49061
2010-05-20 10:05:52 +00:00
Mike Blumenkrantz d57aba55b1 update to handle new watch filter
SVN revision: 49046
2010-05-20 04:28:30 +00:00
Mike Blumenkrantz 9a864815ef update battery module to use new ecore poller functions and avoid destroying poller objects every few seconds
SVN revision: 49003
2010-05-19 09:17:09 +00:00
Mike Blumenkrantz 41359fe6cf workarounds for udev bugs?
SVN revision: 48992
2010-05-19 00:14:00 +00:00
Mike Blumenkrantz 19a2d9cbb7 workaround for unknown battery states
SVN revision: 48990
2010-05-19 00:01:07 +00:00
Mike Blumenkrantz fb6a6462c9 udev: recalc last full charge on update in case battery loses maxlife between module restarts
all: do not display time if full && have power


SVN revision: 48985
2010-05-18 20:15:11 +00:00
Mike Blumenkrantz f7f417298b udev mode enabled in battery module (--enable-device-udev) with polling time supported. udev times are extremely accurate AT THE TIME THAT THEY POLL.
I have added what I call "fuzzy mode", which (in udev mode only) averages the past 10 polling times to give a somewhat more readable measurement.
bugs: none that I know of?
todo: make fuzzy mode average the previous 10 times without resetting except on state change, fix "fuzzy mode" checkbox to only enable when udev is selected


SVN revision: 48973
2010-05-18 10:39:30 +00:00
Mike Blumenkrantz bafe1c825f more udev battery progress, seems like a good stopping point for tonight.
still no functionality changes.


SVN revision: 48943
2010-05-17 08:57:47 +00:00
Mike Blumenkrantz e65da68f57 split battery module device backend into separate files to make it more manageable. main.h now has more function protos. dummy conditional added to configure for later use with makefile source file selection.
still no functionality change


SVN revision: 48940
2010-05-17 07:17:59 +00:00