ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Писковой Иван" <piskovoyivan@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Полный разряд батареи
Date: Thu, 21 Jul 2016 20:18:31 +0900
Message-ID: <CAKe_bzZ3kkcRBX9VPoYjVkzG6Y3LJ7xiosbO4osYHpfLoNobig@mail.gmail.com> (raw)
In-Reply-To: <08700209-2785-11c2-d6b6-402560b2c985@yandex.ru>

Событие: "Достижение критического уровня заряда батареи"
определено в управлении питанием КДЕ. Соответственно и реагировать на
него должна КДЕ. Но она не реагирует.
upower показывает всё правильно (по крайней мере полную ёмкость точно):

$ upower --dump
Device: /org/freedesktop/UPower/devices/line_power_C23A
  native-path:          C23A
  power supply:         yes
  updated:              Чт 21 июл 2016 18:23:53 (5588 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    warning-level:       none
    online:              yes
    icon-name:          'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/battery_C23B
  native-path:          C23B
  vendor:               Hewlett-Packard
  model:                Primary
  serial:               24552 2015/10/12
  power supply:         yes
  updated:              Чт 21 июл 2016 19:56:01 (60 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    warning-level:       none
    energy:              57,5316 Wh
    energy-empty:        0 Wh
    energy-full:         57,5316 Wh
    energy-full-design:  57,5316 Wh
    energy-rate:         5,562 W
    voltage:             12,569 V
    percentage:          100%
    capacity:            100%
    technology:          lithium-ion
    icon-name:          'battery-full-charged-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply:         yes
  updated:              Чт 21 июл 2016 19:08:01 (2940 seconds ago)
  has history:          no
  has statistics:       no
  battery
    present:             yes
    state:               fully-charged
    warning-level:       none
    energy:              57,5316 Wh
    energy-full:         57,5316 Wh
    energy-rate:         5,562 W
    percentage:          100%
    icon-name:          'battery-full-charged-symbolic'

Daemon:
  daemon-version:  0.99.4
  on-battery:      no
  lid-is-closed:   no
  lid-is-present:  yes
  critical-action: (null)
$

А если kde-power-manager не может выделить из этого процент остатка,
то видимо это его бага.

21.07.16, Alexander<alxste@yandex.ru> написал(а):
> 21.07.2016 03:57, Писковой Иван пишет:
>> Эксперимент показал, что KDE реагирует только на два события:
>> отключение зарядки и её подключение.
>>
>
> Я не понял что значит "kde реагирует".
> Если событие в консоли есть, а реакция в kde на него отсутствует то
> нужно вешать багу на kde-power-manager (не знаю точно как он называется,
> kde не пользуюсь). А если upower не рапортует даже в консоль  об
> изменении остатка заряда - то на него.
>
>
> --
> С уважением, Александр
> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community

  reply	other threads:[~2016-07-21 11:18 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-18  1:27 [Comm] [COMM] " Писковой Иван
2016-07-18  8:03 ` [Comm] " Vasiliy D. Sevostyanov
2016-07-19 13:45   ` Писковой Иван
2016-07-19 13:49     ` Alexander
2016-07-19 13:52     ` Писковой Иван
2016-07-19 13:54       ` Alexander
2016-07-19 14:48       ` Vasiliy D. Sevostyanov
2016-07-19 16:19         ` Alexander
2016-07-21  0:57         ` Писковой Иван
2016-07-21  8:35           ` Alexander
2016-07-21 11:18             ` Писковой Иван [this message]
2016-07-22 10:11       ` Писковой Иван

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKe_bzZ3kkcRBX9VPoYjVkzG6Y3LJ7xiosbO4osYHpfLoNobig@mail.gmail.com \
    --to=piskovoyivan@gmail.com \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git