Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 808D2100BF for ; Sat, 8 Feb 2014 15:18:33 +0000 (UTC) Received: (qmail 76809 invoked by uid 500); 8 Feb 2014 15:18:33 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 76329 invoked by uid 500); 8 Feb 2014 15:18:24 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 76312 invoked by uid 99); 8 Feb 2014 15:18:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Feb 2014 15:18:22 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FROM_12LTRDOM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.215.45] (HELO mail-la0-f45.google.com) (209.85.215.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Feb 2014 15:18:16 +0000 Received: by mail-la0-f45.google.com with SMTP id b8so3609321lan.32 for ; Sat, 08 Feb 2014 07:17:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=KF5wEhkkl9swpuYDlXwARfOqPSpaaRjCHC0qzb6N6yk=; b=ZUndMjf/UKt+YBbBwmfSoOmrq253tHpWT60VrvltxdUxi3+cmvH8PBeLPsq7Ia//hX Vlua4rFpqKNX9zkPToKzBGescsb9f9IeEdooX9pZsW+Ql9N8WZLqVn/WOWxidWTMJcWG Tzb+uTYZ8POplWnSTBnslYuEQvryb4ox+i1yA61fwLfvaKNugS6wpki86x72/BjJzx8u 0PmxUSPa2UFy5awR88B5cliG9pP1LgylXrDDYBI1YMWjBhfozyYe0lBEteDE6sVyZbz2 MhqZTCCDfCsnyCw5KxxaKKSQcfcqTsvPeQlBynlS+ZUYV0rFozz4n/RoACQq7mDPn4PG rFzw== X-Gm-Message-State: ALoCoQkW6hRz6lQHTilvJS9VxixxyoIkGkDEH2zEypEJ4onCpQvm4jF/630bCfUHArPn3NvCGPyR MIME-Version: 1.0 X-Received: by 10.112.88.233 with SMTP id bj9mr13752295lbb.10.1391872675580; Sat, 08 Feb 2014 07:17:55 -0800 (PST) Received: by 10.112.134.38 with HTTP; Sat, 8 Feb 2014 07:17:55 -0800 (PST) Date: Sun, 9 Feb 2014 04:17:55 +1300 Message-ID: Subject: [FirefoxOS] Started working on CB-5611 battery-status plugin From: Richard Sentino To: dev@cordova.apache.org Content-Type: multipart/alternative; boundary=001a11c36ad466a38804f1e69c8f X-Virus-Checked: Checked by ClamAV on apache.org --001a11c36ad466a38804f1e69c8f Content-Type: text/plain; charset=ISO-8859-1 Hello I started working on CB-5611 battery-status plugin for FirefoxOS [1]. I need help - code, comments, suggestions - before sending a PR [2]. Also, a note about navigator.battery, clobbering this globally will break the default FirefoxOS behaviour which an object of BatteryManager [3]. Globally setting the action to 'merges' instead of 'clobbers' seems to solve the issue [4] - will this worth creating a new Jira issue ? My dev environment is both Simulator and a Keon Geeksphone device running on B2G 1.2.0.0-prerelease. [1] https://issues.apache.org/jira/browse/CB-5611 [2] https://github.com/rixrix/cordova-plugin-battery-status/tree/CB-5611 [3] https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager [4] https://github.com/rixrix/cordova-plugin-battery-status/commit/83654a24eefc2ec67977ce45afd830662458465a Best, Richard --001a11c36ad466a38804f1e69c8f--