forked from enlightenment/enlightenment
parent
279192ec26
commit
09453fe184
|
@ -1399,8 +1399,7 @@ init(void)
|
||||||
darwin_init();
|
darwin_init();
|
||||||
#else
|
#else
|
||||||
if ((ecore_file_is_dir("/sys/class/power_supply")) &&
|
if ((ecore_file_is_dir("/sys/class/power_supply")) &&
|
||||||
(dir_has_contents("/sys/class/power_supply")) &&
|
(dir_has_contents("/sys/class/power_supply")))
|
||||||
(!ecore_file_exists("/proc/apm"))) /* >= 2.6.24 */
|
|
||||||
{
|
{
|
||||||
mode = CHECK_SYS_CLASS_POWER_SUPPLY;
|
mode = CHECK_SYS_CLASS_POWER_SUPPLY;
|
||||||
linux_sys_class_power_supply_init();
|
linux_sys_class_power_supply_init();
|
||||||
|
|
Loading…
Reference in New Issue