Skip to content
Permalink
Branch: master
Commits on May 3, 2019
  1. add development notes

    meysampg committed May 3, 2019
Commits on Jan 24, 2019
  1. battery_notifier v2.1.1

    rsjethani committed Jan 24, 2019
    Bump version
  2. Set Battery critical/empty <10%

    rsjethani committed Jan 24, 2019
    This is in line with the behavior of most Desktop environments.
    
    Also since the notification of critical battery won't go away until
    dismissed, keep refreshing the same notification with latest battery
    status.
Commits on Jan 19, 2019
  1. Modify default output and -v output

    rsjethani committed Jan 19, 2019
    * Make default output more user friendly
    * Make -v output more user friendly
    * Update README to reflect -v option
    * Since above changes are visible on public side, bump application
      version to '2.1.0'
  2. battery_notifier v2.0.0

    rsjethani committed Jan 19, 2019
  3. Update README and flag description

    rsjethani authored and meysampg committed Jan 19, 2019
  4. Cleanup Notification logic

    rsjethani authored and meysampg committed Jan 19, 2019
    * We are only sending notifications when battery is below threshold
      hence no need for different type of icons/status/summary.
    
    * Merge notification function into main.go
  5. Change default monitoring interval to 5min

    rsjethani authored and meysampg committed Jan 16, 2019
    Also refactor main.go to be simpler
  6. Notify only when discharging

    rsjethani authored and meysampg committed Jan 16, 2019
    Currently when on low battery, noticiations are sent
    even we connect to the charger
Commits on Jan 16, 2019
  1. Introduce Battery Watch Functionality

    rsjethani authored and meysampg committed Jan 16, 2019
    If using `argWatch` (-w option) is given then:
    
    * Check battery after every `argLowInternval` minutes (-l option) if battery is
      below threshold.
    * Check battery after every `argNormalInternval` minutes (-n option) if battery is
      above threshold.
    * Print current battery capacity and state and send a desktop notification.
    
    Else:
     Just print current battery capacity and state and exit.
  2. Make code usable via shell script

    rsjethani authored and meysampg committed Jan 15, 2019
    * Return standard error codes
    * Output can be easily parsed via shell
    * Sanitize/cleanup extra arguments
  3. Add vendor support

    rsjethani authored and meysampg committed Jan 14, 2019
Commits on Jan 14, 2019
  1. Merge pull request #5 from rsjethani/system_dbus_for_notification

    meysampg committed Jan 14, 2019
    Use system dbus notification service
Commits on Jan 13, 2019
  1. Use system dbus notification service

    rsjethani committed Jan 13, 2019
    Instead of depending on external programs, use
    the system dbus notification service for sending
    notifications.
    
    Also notify-send does not honour timeout value. This is also
    fixed by proposed changes
  2. Merge pull request #4 from rsjethani/get_info_from_kernel

    meysampg committed Jan 13, 2019
    Use github.com/rsjethani/sysinfo package
  3. Use github.com/rsjethani/sysinfo package

    rsjethani committed Jan 13, 2019
    Use this package to get information from the Kernel instead of
    external commands
    
    Resolves: Issue #1
Commits on Aug 23, 2018
Commits on Aug 15, 2018
  1. add flag for notification sending (#2)

    smmtaheri authored and meysampg committed Aug 15, 2018
Commits on Aug 9, 2018
  1. add README

    meysampg committed Aug 9, 2018
  2. change threshold help text

    meysampg committed Aug 9, 2018
  3. Initial commit

    meysampg committed Aug 9, 2018
  4. Initial commit

    meysampg committed Aug 9, 2018
You can’t perform that action at this time.