forked from enlightenment/enlightenment
42d16a0ec1
Summary: This fixes issues where erroneous udev detections of batteries are included. @bu5hm4n and I both have had issues where udev thinks we have two batteries because our hid/touchscreens report a battery even though they are not accurate. The problem is batman will then think there are two batteries and calculate battery percentage based off both batteries. For instance if the laptop battery is 100% and it is detecting this phony hid battery, the result is batman thinks you are at 50% battery life. This also fixes the battery removal code which should only remove the battery with the syspath the function is called with. The code was actually removing every single battery. Test Plan: You have to have a device that udev reports two batteries for when there aren't two. It should be harmless to not include batteries that have never been charged, have no charge, and have unknown for their status. Reviewers: bu5hm4n, raster, zmike!, devilhorns Reviewed By: raster Subscribers: cedric, bu5hm4n Tags: #enlightenment-git Differential Revision: https://phab.enlightenment.org/D7736 |
||
---|---|---|
data | ||
doc | ||
meson | ||
po | ||
src | ||
.arcconfig | ||
.gitignore | ||
.mailmap | ||
AUTHORS | ||
BUGS | ||
COPYING | ||
ChangeLog | ||
INSTALL | ||
NEWS | ||
README | ||
README.wayland | ||
TODO | ||
autogen.sh | ||
e19_workdir_setup.sh | ||
meson.build | ||
meson_options.txt | ||
netwm.txt | ||
x-ui.sh | ||
xdebug.sh |
README
Please report bugs and send patches to phab.enlightenment.org Enlightenment Requirements: ------------- Must: efl libc libm libX11 libXext xcb xcb-shape xcb-keysyms Heavily suggested: evas_generic_loaders (all loaders) NOTE: Users of DR16 will need to rename the $prefix/bin/enlightenment file prior to installing this release or it will be overwritten. NOTES: * if you do not want security issues make sure sysactions.conf is in /etc/enlightenment (not PREFIX/etc/enlightenment) as this is the first place it looks at. This file is intended to be customized by packagers and system integrators to match your policies and scripts/tools.