| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- remove obsolete/erroneous code meddling with
GENHD_FL_MEDIA_CHANGE_NOTIFY
- use /sys/block/<dev>/removable rather than
/sys/block/<dev>/capabilities
- deprecate TDEDiskDeviceStatus::Hotpluggable and use
TDEDiskDeviceStatus::Removable for all removable devices
- put some local utility function into anonymous namespace
See https://mirror.git.trinitydesktop.org/gitea/TDE/tde/issues/148
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
|
|
|
| |
Signed-off-by: ormorph <roma251078@mail.ru>
|
|
|
|
|
|
| |
device from the device list.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: gregory guy <gregory-tde@laposte.net>
|
|
|
|
|
|
| |
This causes tdecore API change!
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
|
|
| |
partition table.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
|
|
|
| |
to be able to generate a signal when the power state changes,
if the signal is not generated from udev.
This resolves issue TDE/tde#30.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
|
|
|
| |
This will resolve event device detection on special hardware, for example,
the LID switch on Pinebook Pro.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
|
|
|
|
|
|
| |
The values from energy_* and power_now are converted
from mWh and mW to Ah and A, so that the units are
equal to values from charge_* and current_now.
This resolves issue #68.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
|
|
|
|
|
| |
+ Added reading of estimated time to fully charged battery
(time_to_full_now)
The remaining time is calculated if the value is not provided
in the battery information.
If the battery does not provide charging current information,
the estimated time to charge the battery cannot be calculated.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ The current frequency is parsed from the scaling_cur_freq file
If the current frequency is not found in /proc/cpuinfo, the attempt
to read value from cpuinfo_cur_freq failed because only root can
read this file.
+ The have_frequency flag is not set when parsing current frequency from sysfs
Setting the have_frequency flag after parsing current frequency for the
first core caused the current frequency not to be parsed for other cores.
+ Frequency characteristics are parsed for all cores
The assumption that the frequency characteristics for all cores will be
the same as the first core is no longer reliable. There are heterogeneous
architectures - for example ARM big.LITTLE.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ Added initialization of all values
Some batteries do not provide all values and, without
initialization, values may contain dubious data.
+ Added reading of current battery capacity value in percent
(capacity)
Some batteries may provide the current capacity value in
percent instead of the current energy value.
+ Added check whether the battery provides current energy value
(charge_now or energy_now)
The current energy is calculated if the value is not provided
in the battery information.
+ Added reading of estimated time to empty battery
(time_to_empty_now)
The remaining time is calculated if the value is not provided
in the battery information.
If the battery does not provide charging current information,
the estimated time to charge the battery cannot be calculated.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
|
|
|
|
| |
different
icon themes.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
| |
version of it.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
|
|
| |
system.
This resolves bug 2232, bug 2607 and bug 2946.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
This fixes problems with LUKS partitions not being detected
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
disk).
Now code is more consistent. This relates to bug 2601.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
|
|
|
| |
disk).
Update to dbus interface and hardware device manager will be commit separately.
This relates to bug 2601.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
|
| |
This applies for example to the software RAID defined in the BIOS
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
|
|
| |
This resolves Bug 2473
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
|
|
| |
This resolves Bug 2584
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
|
|
| |
This relates to Bug 2473
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
|
|
| |
because it contains unadjusted disk labels
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|